commit | 32a5fcbfe9e9436224278ec7eb137b0f2905928d | [log] [tgz] |
---|---|---|
author | Paul Tan <pyokagan@gmail.com> | Tue Aug 04 21:51:31 2015 +0800 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Aug 04 22:02:11 2015 -0700 |
tree | 949884ae19ed6f15720f946fafdd70f306d478ad | |
parent | c9e8d960b612d5962cd1e952916c2ab6f483e620 [diff] |
builtin-am: refuse to apply patches if index is dirty Since d1c5f2a (Add git-am, applymbox replacement., 2005-10-07), git-am will refuse to apply patches if the index is dirty. Re-implement this behavior in builtin/am.c. Signed-off-by: Paul Tan <pyokagan@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>