Skip to content

Commit 142c945

Browse files
committed
Merge branch 'maint'
* maint: docs: fix filter-branch subdir example for exotic repo names
2 parents 6acef04 + 094574b commit 142c945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-filter-branch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ git filter-branch --index-filter \
361361
'git ls-files -s | sed "s-\t\"*-&newsubdir/-" |
362362
GIT_INDEX_FILE=$GIT_INDEX_FILE.new \
363363
git update-index --index-info &&
364-
mv $GIT_INDEX_FILE.new $GIT_INDEX_FILE' HEAD
364+
mv "$GIT_INDEX_FILE.new" "$GIT_INDEX_FILE"' HEAD
365365
---------------------------------------------------------------
366366

367367

0 commit comments

Comments
 (0)