Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
commit: refer to commit template as s->fp
[gitweb.git]
/
builtin
/
update-index.c
diff --git
a/builtin/update-index.c
b/builtin/update-index.c
index 571b57964cb0446b6ff66fdca9510f73d379d3c3..56baf27fb7eb18d77e8793d089f2a719d4876689 100644
(file)
--- a/
builtin/update-index.c
+++ b/
builtin/update-index.c
@@
-787,6
+787,9
@@
int cmd_update_index(int argc, const char **argv, const char *prefix)
OPT_END()
};
+ if (argc == 2 && !strcmp(argv[1], "-h"))
+ usage(update_index_usage[0]);
+
git_config(git_default_config, NULL);
/* We can't free this memory, it becomes part of a linked list parsed atexit() */