Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'bw/log-all-ref-updates-doc'
[gitweb.git]
/
builtin
/
symbolic-ref.c
diff --git
a/builtin/symbolic-ref.c
b/builtin/symbolic-ref.c
index ca855a5eb239f4dadccd53369e38db4e78b1d13f..dea849c3c5ec0c0a7ee0ac98e1ae62a6dacf5806 100644
(file)
--- a/
builtin/symbolic-ref.c
+++ b/
builtin/symbolic-ref.c
@@
-30,7
+30,8
@@
int cmd_symbolic_ref(int argc, const char **argv, const char *prefix)
int quiet = 0;
const char *msg = NULL;
struct option options[] = {
- OPT__QUIET(&quiet),
+ OPT__QUIET(&quiet,
+ "suppress error message for non-symbolic (detached) refs"),
OPT_STRING('m', NULL, &msg, "reason", "reason of the update"),
OPT_END(),
};