Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion git-join-repos
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function repo_master_to_subdir {
git filter-branch -f --index-filter \
"git ls-files -s | ${sed} \"s|\t\\\"*|&${repo_name}/|\" |
GIT_INDEX_FILE=\$GIT_INDEX_FILE.new git update-index --index-info &&
mv \"\$GIT_INDEX_FILE.new\" \"\$GIT_INDEX_FILE\"" HEAD
mv \"\$GIT_INDEX_FILE.new\" \"\$GIT_INDEX_FILE\" ||:" HEAD

git filter-branch -f --msg-filter "/bin/echo -n \"${repo_name}: \" && cat"

Expand Down