Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ap/maint-update-index-h-is-for-help' into maint-1.8.1
author
Junio C Hamano
<gitster@pobox.com>
Wed, 3 Apr 2013 15:36:10 +0000
(08:36 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 3 Apr 2013 15:36:10 +0000
(08:36 -0700)
* ap/maint-update-index-h-is-for-help:
update-index: allow "-h" to also display options
builtin/update-index.c
patch
|
blob
|
history
raw
(from parent 1:
a134a60
)
diff --git
a/builtin/update-index.c
b/builtin/update-index.c
index ada1dff846f2b77d5f71d69db57a7eca5033b943..5c7762eef404e7ea21d88991a81407f1cb99f306 100644
(file)
--- a/
builtin/update-index.c
+++ b/
builtin/update-index.c
@@
-796,7
+796,7
@@
int cmd_update_index(int argc, const char **argv, const char *prefix)
};
if (argc == 2 && !strcmp(argv[1], "-h"))
- usage
(update_index_usage[0]
);
+ usage
_with_options(update_index_usage, options
);
git_config(git_default_config, NULL);