Code

Use git-update-ref in scripts.
authorJunio C Hamano <junkio@cox.net>
Wed, 28 Sep 2005 01:14:27 +0000 (18:14 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 28 Sep 2005 23:42:44 +0000 (16:42 -0700)
commitbf7960eb51a26bcf52f27a60bfcf005661266b1e
treebaeef0ee852f787668eceadd7aefa29b79add7a7
parenta7928f8ec7fb3c368e6086ab48f41e33a22e1b94
Use git-update-ref in scripts.

This uses the git-update-ref command in scripts for safer updates.
Also places where we used to read HEAD ref by using "cat" were fixed
to use git-rev-parse.  This will matter when we start using symbolic
references.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-applypatch.sh
git-commit.sh
git-fetch.sh
git-merge.sh
git-octopus.sh
git-pull.sh
git-rebase.sh
git-reset.sh
git-resolve.sh