Skip to content

Commit

Permalink
Merge pull request #49 from maryamklabib/master
Browse files Browse the repository at this point in the history
Clones only the history leading to the tip of a single branch.
  • Loading branch information
vito authored Jun 12, 2019
2 parents 393be10 + dd1ae84 commit 8ee75f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/check
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ else
branchflag="--branch $branch"
fi

git clone $uri $branchflag $destination
git clone --single-branch $uri $branchflag $destination
cd $destination
fi

Expand Down
2 changes: 1 addition & 1 deletion assets/in
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if [ -n "$branch" ]; then
branchflag="--branch $branch"
fi

git clone $uri $branchflag $destination
git clone --single-branch $uri $branchflag $destination

cd $destination

Expand Down

0 comments on commit 8ee75f1

Please sign in to comment.