author | Linus Torvalds <torvalds@osdl.org> | |
Thu, 18 Aug 2005 22:31:40 +0000 (15:31 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 18 Aug 2005 23:26:50 +0000 (16:26 -0700) | ||
commit | d571c2be99cb4ab96ff70c62c31d587271db9567 | |
tree | fa38bcef80df2d3090d3eb95681f615d94f95a33 | tree | snapshot |
parent | 1bff6490b0225aef07d2fd13cbb806ac8ce115de | commit | diff |
[PATCH] git-applymbox: verify that index is clean
This makes git-applymbox verify that the index matches the current HEAD
before it starts applying patches.
Otherwise, you might have updated the index with unrelated changes, and
the first patch will commit not just the patch from the mbox, but also any
changes you had in your index.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This makes git-applymbox verify that the index matches the current HEAD
before it starts applying patches.
Otherwise, you might have updated the index with unrelated changes, and
the first patch will commit not just the patch from the mbox, but also any
changes you had in your index.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
tools/git-applymbox | diff | blob | history |