mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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:
@@ -362,6 +362,8 @@ int main(int argc, char **argv)
|
||||
pid_t pid;
|
||||
|
||||
setup_git_directory();
|
||||
git_config(git_default_config);
|
||||
|
||||
argv++;
|
||||
for (i = 1; i < argc; i++, argv++) {
|
||||
char *arg = *argv;
|
||||
|
||||
Reference in New Issue
Block a user