author | Junio C Hamano <gitster@pobox.com> | |
Thu, 10 Apr 2008 07:29:33 +0000 (00:29 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 10 Apr 2008 07:29:33 +0000 (00:29 -0700) |
* maint-1.5.4:
core-tutorial.txt: Fix showing the current behaviour.
git-archive: ignore prefix when checking file attribute
Fix documentation syntax of optional arguments in short options.
core-tutorial.txt: Fix showing the current behaviour.
git-archive: ignore prefix when checking file attribute
Fix documentation syntax of optional arguments in short options.
1 | 2 | |||
---|---|---|---|---|
Documentation/git-tag.txt | patch | | diff1 | | diff2 | | blob | history |
builtin-tag.c | patch | | diff1 | | diff2 | | blob | history |
parse-options.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc Documentation/git-tag.txt
Simple merge
diff --cc builtin-tag.c
Simple merge
diff --cc parse-options.c
index e87cafbe4199acb39fd9113e4b5096de19a3a61c,59dc9ce6b471c61aff22d51293ee3d74b020c88a..acf3fe3a1a82cd99e7bd6e0ff9d6d3d7e344a155
--- 1/parse-options.c
--- 2/parse-options.c
+++ b/parse-options.c
pos += fprintf(stderr, "--%s", opts->long_name);
switch (opts->type) {
+ case OPTION_ARGUMENT:
+ break;
case OPTION_INTEGER:
if (opts->flags & PARSE_OPT_OPTARG)
- pos += fprintf(stderr, " [<n>]");
+ pos += fprintf(stderr, "[<n>]");
else
pos += fprintf(stderr, " <n>");
break;