Code

git-reset: make it work from within a subdirectory.
authorJunio C Hamano <junkio@cox.net>
Thu, 14 Dec 2006 08:40:15 +0000 (00:40 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 14 Dec 2006 10:45:51 +0000 (02:45 -0800)
commita81c311f23a5fadd6c1da38d46781644cd9db6e8
tree1fca073c4bce5daf1aef74b279fd74fa512a734f
parent4da9028578ffaaf8985e1436e2e1cf16bd3b9023
git-reset: make it work from within a subdirectory.

If you typically sit in, say "src/", it's annoying to have to
change directory to do a reset.

This may need to be reworked when we add "git reset -- paths..."
to encapsulate the "ls-tree $tree | update-index --index-info"
pattern.

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