Code

git-reset <tree> -- <path> restores absense of <path> in <tree>
authorJunio C Hamano <junkio@cox.net>
Fri, 5 Jan 2007 09:38:56 +0000 (01:38 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 7 Jan 2007 06:57:42 +0000 (22:57 -0800)
commitbc8c0294c6ab673e465a8b564e22b1b9c2a2ea50
tree64b5d27d4ab388cf4553f037f523800230e7f25a
parente9c8409900fc84cd7721117c98dfe01acd535aa2
git-reset <tree> -- <path> restores absense of <path> in <tree>

When <path> exists in the index (either merged or unmerged), and
<tree> does not have it, git-reset should be usable to restore
the absense of it from the tree.  This implements it.

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