]> git.lizzy.rs Git - plan9front.git/commit
git/branch: make '-n' use HEAD when '-b' unspecified
authorOri Bernstein <ori@eigenstate.org>
Fri, 13 Aug 2021 05:16:50 +0000 (05:16 +0000)
committerOri Bernstein <ori@eigenstate.org>
Fri, 13 Aug 2021 05:16:50 +0000 (05:16 +0000)
commitda085a2d4cca788686b8f68b2555040cf29dc16c
tree5b93738237538077c224888a985f577c1bacb602
parent2af46e406bbd443ae10025777247798a685afc3c
git/branch: make '-n' use HEAD when '-b' unspecified

This brings the behavior in line with the manual page,
and makes things less surprising for users.
sys/src/cmd/git/branch