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
Follow upstream changes -- Bytestring updates
[git-darcs-import.git]
/
tests
/
diff.sh
blob
4913356fe71bab827368af100091268f0e320fa8
1
#!/usr/bin/env bash
2
set -ev
3
4
rm
-rf
temp-$$
5
mkdir temp-$$
6
cd
temp-$$
7
set -e
8
darcs initialize
9
echo
text
>
afile.txt
10
darcs add afile.txt
11
darcs record
--author
me
--all --no-test --patch-name
init
12
darcs
diff
13
darcs
diff
-p
.
--store
>
diffinmem
14
darcs
diff
-p
.
>
diffondisk
15
diff
diffinmem diffondisk
16
cd
..
17
18
rm
-rf
temp-$$