From 0600044f3a715f988111deac3bd9fd526cc9a143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Wed, 15 Jan 2014 10:09:30 +0100 Subject: [PATCH] Do git reset between add+commit to allow commit aborts --- fd-commit | 1 + 1 file changed, 1 insertion(+) diff --git a/fd-commit b/fd-commit index 385fcbf2..d6179540 100755 --- a/fd-commit +++ b/fd-commit @@ -83,5 +83,6 @@ while read line; do done < <(git status --porcelain) for cmd in "${commands[@]}"; do + git reset eval "$cmd" done