Skip to content

Commit e4b7a20

Browse files
committed
Fix bug caused by incorrect refactor
Previously a log file was used. This was replaced by a direct call to `git log`. However, the `cat` command was left in place, hence the bug. Fixes #7
1 parent e74176a commit e4b7a20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git-split-file.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ mergeSplitBranch() {
371371
&& commit "Merging split file '${g_sSourceFileName}'"
372372
) || (
373373
printStatus 'Merge conflict remains. Attempting to resolve more aggressively.'
374-
git add $(cat git status | grep -o -E 'added by us: .*' | cut -d ':' -f 2) \
374+
git add $(git status | grep -o -E 'added by us: .*' | cut -d ':' -f 2) \
375375
&& commit "Merging split file '${g_sSourceFileName}'"
376376
)
377377
else

0 commit comments

Comments
 (0)