author | Junio C Hamano <junkio@cox.net> | |
Thu, 14 Dec 2006 08:40:15 +0000 (00:40 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 14 Dec 2006 10:45:51 +0000 (02:45 -0800) | ||
commit | a81c311f23a5fadd6c1da38d46781644cd9db6e8 | |
tree | 1fca073c4bce5daf1aef74b279fd74fa512a734f | tree | snapshot |
parent | 4da9028578ffaaf8985e1436e2e1cf16bd3b9023 | commit | 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>
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 | diff | blob | history |