Code

[PATCH] git-applymbox: verify that index is clean
authorLinus Torvalds <torvalds@osdl.org>
Thu, 18 Aug 2005 22:31:40 +0000 (15:31 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 18 Aug 2005 23:26:50 +0000 (16:26 -0700)
commitd571c2be99cb4ab96ff70c62c31d587271db9567
treefa38bcef80df2d3090d3eb95681f615d94f95a33
parent1bff6490b0225aef07d2fd13cbb806ac8ce115de
[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>
tools/git-applymbox