We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bb2fd90 + 11a6ba1 commit 93542d9Copy full SHA for 93542d9
1 file changed
remote.c
@@ -483,7 +483,7 @@ static void read_config(void)
483
int flag;
484
if (default_remote_name) /* did this already */
485
return;
486
- default_remote_name = xstrdup("origin");
+ default_remote_name = "origin";
487
current_branch = NULL;
488
head_ref = resolve_ref_unsafe("HEAD", sha1, 0, &flag);
489
if (head_ref && (flag & REF_ISSYMREF) &&
0 commit comments