commit | a81c311f23a5fadd6c1da38d46781644cd9db6e8 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <junkio@cox.net> | Thu Dec 14 00:40:15 2006 -0800 |
committer | Junio C Hamano <junkio@cox.net> | Thu Dec 14 02:45:51 2006 -0800 |
tree | 1fca073c4bce5daf1aef74b279fd74fa512a734f | |
parent | 4da9028578ffaaf8985e1436e2e1cf16bd3b9023 [diff] |
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>