swh:1:snp:87728f882295b5ba27035837248a04c5be121c53
Revision 905d9c9653a7dc324a1c6fbf883a1b9bcdc6e5bf authored by Shawn O. Pearce on 30 May 2007, 15:27:49 UTC, committed by Shawn O. Pearce on 30 May 2007, 23:34:40 UTC
If the user has no branches at all (their refs/heads/ is empty)
and they are on a detached HEAD we have a valid repository but
there are no branches to populate into the branch pulldown in
the create branch dialog.  Instead of erroring out we can skip
that part of the dialog, much like we do with tracking branches
or tags when the user doesn't have any.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
1 parent ea75ee3
History
Tip revision: 6c40894d2466d4e7fddc047a05116aa9d14712ee authored by Junio C Hamano on 30 August 2021, 23:06:22 UTC
The second batch
Tip revision: 6c40894
File Mode Size
lib
.gitignore -rw-r--r-- 62 bytes
GIT-VERSION-GEN -rwxr-xr-x 1.8 KB
Makefile -rw-r--r-- 3.5 KB
git-gui.sh -rwxr-xr-x 55.8 KB

back to top