Mercurial > hg > hg-git
comparison tests/test-renames.t @ 984:bcf3d04d6585
test-renames.t: don't use "seq"
Seq is not a standard utility, and explicit loop should be more performant.
author | Dmitrij D. Czarkoff <czarkoff@gmail.com> |
---|---|
date | Thu, 14 Jan 2016 13:33:35 +0100 |
parents | 3004fd28a8c5 |
children | 4fa1812d1f24 |
comparison
equal
deleted
inserted
replaced
983:296349f421c8 | 984:bcf3d04d6585 |
---|---|
8 > similarity = 50 | 8 > similarity = 50 |
9 > EOF | 9 > EOF |
10 | 10 |
11 $ git init -q gitrepo | 11 $ git init -q gitrepo |
12 $ cd gitrepo | 12 $ cd gitrepo |
13 $ for i in $(seq 1 10); do echo $i >> alpha; done | 13 $ for i in 1 2 3 4 5 6 7 8 9 10; do echo $i >> alpha; done |
14 $ git add alpha | 14 $ git add alpha |
15 $ fn_git_commit -malpha | 15 $ fn_git_commit -malpha |
16 | 16 |
17 Rename a file | 17 Rename a file |
18 $ git mv alpha beta | 18 $ git mv alpha beta |