We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c5dbf1 + 206a6ae commit f46cdf4Copy full SHA for f46cdf4
1 file changed
git-filter-branch.sh
@@ -627,12 +627,12 @@ then
627
print H "$_:$f\n" or die;
628
}
629
close(H) or die;' || die "Unable to save state")
630
- state_tree=$(/bin/echo -e "100644 blob $state_blob\tfilter.map" | git mktree)
+ state_tree=$(printf '100644 blob %s\tfilter.map\n' "$state_blob" | git mktree)
631
if test -n "$state_commit"
632
then
633
- state_commit=$(/bin/echo "Sync" | git commit-tree "$state_tree" -p "$state_commit")
+ state_commit=$(echo "Sync" | git commit-tree "$state_tree" -p "$state_commit")
634
else
635
- state_commit=$(/bin/echo "Sync" | git commit-tree "$state_tree" )
+ state_commit=$(echo "Sync" | git commit-tree "$state_tree" )
636
fi
637
git update-ref "$state_branch" "$state_commit"
638
0 commit comments