Code

Make old sha1 optional with git update-ref -d
authorKarl Hasselström <kha@treskal.com>
Mon, 2 Jun 2008 23:34:53 +0000 (01:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Jun 2008 05:52:39 +0000 (22:52 -0700)
commit3fe8dce6fc5b1d0bffba8fdb4e075fcd16cf5619
tree0df179167dd685e7d96aa46d28cdffd312e2ea6c
parent973a70ea4d9fc98e9ed20c261c5f6c8f1c1df2b0
Make old sha1 optional with git update-ref -d

Giving the old sha1 is already optional when changing a ref, and it's
quite handy when running update-ref manually. So make it optional for
deleting a ref too.

Signed-off-by: Karl Hasselström <kha@treskal.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-update-ref.txt
builtin-update-ref.c
t/t1400-update-ref.sh