Skip to content

Commit

Permalink
avoid pushd and popd
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Dec 24, 2017
1 parent fe1a62b commit 7a9e2ca
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions metatool
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ pull() {
push() {
project=$1
git subtree push --prefix=$project $manyrepos_dir/$project $metarepo_branch
pushd $manyrepos_dir/$project
git merge $metarepo_branch --no-commit
git commit --no-edit
popd
(
cd $manyrepos_dir/$project
git merge $metarepo_branch --no-commit
git commit --no-edita
)
}

print_usage() {
Expand Down

0 comments on commit 7a9e2ca

Please sign in to comment.