diff --git a/src/git-split-file.sh b/src/git-split-file.sh index c1cb37d..262ffb2 100755 --- a/src/git-split-file.sh +++ b/src/git-split-file.sh @@ -371,7 +371,7 @@ mergeSplitBranch() { && commit "Merging split file '${g_sSourceFileName}'" ) || ( printStatus 'Merge conflict remains. Attempting to resolve more aggressively.' - git add $(cat git status | grep -o -E 'added by us: .*' | cut -d ':' -f 2) \ + git add $(git status | grep -o -E 'added by us: .*' | cut -d ':' -f 2) \ && commit "Merging split file '${g_sSourceFileName}'" ) else