diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-12 15:54:59 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-12 15:54:59 +1000 |
commit | 98c22a36fdaf8806f8fafe8f1e23e53f8e97658d (patch) | |
tree | 4e04dfe9889df3e06ebb43daa2810e557c552821 /test/lots_of_commits.sh | |
parent | 7bfd8155c2482afd3c09ac7991e8f8f7f0d0338b (diff) |
rearrange test repo generators
Diffstat (limited to 'test/lots_of_commits.sh')
-rwxr-xr-x | test/lots_of_commits.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/test/lots_of_commits.sh b/test/lots_of_commits.sh deleted file mode 100755 index b56c9a6be..000000000 --- a/test/lots_of_commits.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -# this script makes a repo with lots of commits - -# call this command from the test directory: -# ./lots_of_commits.sh; cd testrepo; gg; cd .. - -# -e means exit if something fails -# -x means print out simple commands before running them -set -ex - -reponame="lots_of_commits" - -rm -rf ${reponame} -mkdir ${reponame} -cd ${reponame} - -git init - -i=2 -end=100 -while [ $i -le $end ]; do - echo "file${i}" > file${i} - git add file${i} - git commit -m file${i} - - i=$(($i+1)) -done - -echo "unstaged change" > file100 |