diff options
Diffstat (limited to 'git-split')
| -rwxr-xr-x | git-split | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ SHA=$(git rev-parse --short HEAD) git reset HEAD^ -git diff-tree --no-commit-id --name-only -r $SHA | while read -r f; do +git diff-tree --no-commit-id --name-only -r "$SHA" | while read -r f; do git add "$f" - GIT_EDITOR="echo '0a\n$SHA $f\n\n.\nw' | ed -s" git commit -c $SHA + GIT_EDITOR="echo '0a\n$SHA $f\n\n.\nw' | ed -s" git commit -c "$SHA" done |
