repo.or.cz
/
git-darcs-import.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Find git executable at run time
[git-darcs-import.git]
/
bugs
/
issue558_broken_pipe.sh
blob
4aa7189b01880f6328411c5e7d75bad979bd6fb5
1
#!/usr/bin/env bash
2
3
# For issue588, "amend-record --look-for-adds end up with two "addfile" entries"
4
5
set -ev
6
rm
-rf
temp1
7
darcs init
--repodir
temp1
8
9
export
EMAIL
=
me
10
11
cd
temp1
12
13
date
>
f
14
darcs add f
15
darcs rec
-am
p1
16
for
((
i
=
0
;
i
<
500
;
i
=
i
+
1
));
do
17
echo
$i
>>
f
;
18
darcs rec
-am
p
$i
19
done
20
21
darcs changes
2
>
err |
head
22
23
touch
correcterr
24
25
diff
correcterr err
26
27
cd
..
28
29
rm
-rf
temp1