Use cd_to_toplevel in scripts that implement it by hand.
authorJunio C Hamano <junkio@cox.net>
Fri, 12 Jan 2007 20:49:05 +0000 (12:49 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 13 Jan 2007 00:54:38 +0000 (16:54 -0800)
commit514c09fdcfef6385f1a61ee52344794356c99986
tree54aae1aa9262a75465bfb093761e85308a5164b0
parent9fde9401a9c3974a407f302d60a1b75e8787f715
Use cd_to_toplevel in scripts that implement it by hand.

This converts scripts that do "cd $(rev-parse --show-cdup)" by
hand to use cd_to_toplevel.

I think git-fetch does not have to go to the toplevel, but that
should be dealt with in a separate patch.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-checkout.sh
git-commit.sh
git-fetch.sh
git-reset.sh