Code

git-branch: display sha1 on branch deletion
authorBrandon Casey <casey@nrlssc.navy.mil>
Fri, 12 Dec 2008 23:20:07 +0000 (17:20 -0600)
committerJunio C Hamano <gitster@pobox.com>
Sat, 13 Dec 2008 04:42:59 +0000 (20:42 -0800)
commita126ed0a01e265d7f3b2972a34e85636e12e6d34
tree3594874c3779aae3f1b1f0a9a8f74d5aa6bc7327
parentde0db422782ddaf7754ac5b03fdc6dc5de1a9ae4
git-branch: display sha1 on branch deletion

Make it easier to recover from a mistaken branch deletion by displaying the
sha1 of the branch's tip commit.

Update t3200 test to match the change in output.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-branch.c
t/t3200-branch.sh