sha1_name: warning ambiguous refs.

This makes sure that many commands that take refs on the command
line to honor core.warnambiguousrefs configuration.  Earlier,
the commands affected by this patch did not read the
configuration file.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano
2006-03-23 23:41:18 -08:00
parent c51d13692d
commit 84a9b58c42
12 changed files with 15 additions and 3 deletions

View File

@ -25,6 +25,7 @@ int main(int argc, char **argv)
int fd, written;
setup_git_directory();
git_config(git_default_config);
if (argc < 3 || argc > 4)
usage(git_update_ref_usage);