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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user