~ubuntu-branches/debian/sid/git/sid

« back to all changes in this revision

Viewing changes to builtin/write-tree.c

  • Committer: Package Import Robot
  • Author(s): Jonathan Nieder
  • Date: 2013-06-12 07:50:53 UTC
  • mfrom: (1.2.19) (2.1.31 experimental)
  • Revision ID: package-import@ubuntu.com-20130612075053-uue9xe0dq0rvm44y
Tags: 1:1.8.3.1-1
* merge branch debian-experimental
* new upstream point release (see RelNotes/1.8.3.1.txt).
* debian/watch: use xz-compressed tarballs from kernel.org.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
#include "parse-options.h"
11
11
 
12
12
static const char * const write_tree_usage[] = {
13
 
        "git write-tree [--missing-ok] [--prefix=<prefix>/]",
 
13
        N_("git write-tree [--missing-ok] [--prefix=<prefix>/]"),
14
14
        NULL
15
15
};
16
16
 
21
21
        unsigned char sha1[20];
22
22
        const char *me = "git-write-tree";
23
23
        struct option write_tree_options[] = {
24
 
                OPT_BIT(0, "missing-ok", &flags, "allow missing objects",
 
24
                OPT_BIT(0, "missing-ok", &flags, N_("allow missing objects"),
25
25
                        WRITE_TREE_MISSING_OK),
26
 
                { OPTION_STRING, 0, "prefix", &prefix, "<prefix>/",
27
 
                  "write tree object for a subdirectory <prefix>" ,
 
26
                { OPTION_STRING, 0, "prefix", &prefix, N_("<prefix>/"),
 
27
                  N_("write tree object for a subdirectory <prefix>") ,
28
28
                  PARSE_OPT_LITERAL_ARGHELP },
29
29
                { OPTION_BIT, 0, "ignore-cache-tree", &flags, NULL,
30
 
                  "only useful for debugging",
 
30
                  N_("only useful for debugging"),
31
31
                  PARSE_OPT_HIDDEN | PARSE_OPT_NOARG, NULL,
32
32
                  WRITE_TREE_IGNORE_CACHE_TREE },
33
33
                OPT_END()