Mike Frysinger 50a81de2bc init: use the remote default manifest branch
Instead of hardcoding "master" as our default, use the remote server's
default branch instead.  For most people, this should be the same as
"master" already.  For projects moving to "main", it means we'll use
the new name automatically rather than forcing people to use -b main.

For repositories that never set up a default HEAD, we should still use
the historical "master" default.

Bug: https://crbug.com/gerrit/13339
Change-Id: I4117c81a760c9495f98dbb1111a3e6c127f45eba
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/280799
Reviewed-by: Michael Mortensen <mmortensen@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
2020-09-09 05:46:07 +00:00
..
2020-02-20 06:14:00 +00:00
2020-02-17 23:49:47 +00:00
2020-03-23 00:31:10 +00:00
2020-02-12 11:44:59 +00:00
2019-06-13 14:30:52 +00:00
2020-02-19 00:24:43 +00:00
2020-02-19 00:24:43 +00:00
2020-06-06 23:46:00 +00:00