Skip to content

Commit

Permalink
head
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Dec 24, 2017
1 parent 5d37fc6 commit ca425a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metatool
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ check_push() {
}

check_clean() {
[ "`git status --porcelain`" = "" ]
[ "`git status --porcelain | head -n 3`" = "" ]
}

push() {
project=$1
git subtree push --prefix=$project $manyrepos_dir/$project $metarepo_branch
(
cd $manyrepos_dir/$project
if [ "`git log ${manyrepos_branch}..${metarepo_branch}`" = "" ]
if [ "`git log ${manyrepos_branch}..${metarepo_branch} | head -n 3`" = "" ]
then
return
fi
Expand Down

0 comments on commit ca425a3

Please sign in to comment.