Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Git.pm: fix return value of config method
[gitweb.git]
/
builtin-name-rev.c
diff --git
a/builtin-name-rev.c
b/builtin-name-rev.c
index 384da4db13d9ff82b9bd45e6ab26b5dbf925dc22..cde5de56fa43c1552722965343867b2baaebdaf4 100644
(file)
--- a/
builtin-name-rev.c
+++ b/
builtin-name-rev.c
@@
-195,7
+195,7
@@
int cmd_name_rev(int argc, const char **argv, const char *prefix)
OPT_END(),
};
- git_config(git_default_config);
+ git_config(git_default_config
, NULL
);
argc = parse_options(argc, argv, opts, name_rev_usage, 0);
if (!!all + !!transform_stdin + !!argc > 1) {
error("Specify either a list, or --all, not both!");