summaryrefslogtreecommitdiff
path: root/git-checkout.sh
diff options
context:
space:
mode:
authorJan Harkes <jaharkes@cs.cmu.edu>2005-12-17 06:01:06 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-17 06:28:19 (GMT)
commit69224716f78d6a772318e73060a70ba5ae67e55b (patch)
treeb3bbfc0ee8d6028a2d5b614804882f58fd0a8975 /git-checkout.sh
parent68283999f8ae0e9286f8b7f199905b77d608cb80 (diff)
downloadgit-69224716f78d6a772318e73060a70ba5ae67e55b.zip
git-69224716f78d6a772318e73060a70ba5ae67e55b.tar.gz
git-69224716f78d6a772318e73060a70ba5ae67e55b.tar.bz2
Fix git-am --skip
git-am --skip does not unpack the next patch and ends up reapplying the old patch, believing that it is the new patch in the sequence. If the old patch applied successfully it will commit it with the supposedly skipped log message and ends up dropping the following patch. If the patch did not apply the user is left with the conflict he tried to skip and has to unpack the next patch in the sequence by hand to get git-am back on track. By clearing the resume variable whenever skips bumps the sequence counter we correctly unpack the next patch. I also added another resume= in the case a patch file is missing from the sequence to avoid the same problem when a file in the sequence was removed. Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-checkout.sh')
0 files changed, 0 insertions, 0 deletions