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 -- rest
[git-darcs-import.git]
/
tests
/
issue1139-diff-with-no-args.sh
blob
f3d358ef2218f2b33b0c9599be9dedec07461842
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
>
foo
10
darcs add foo
11
darcs record
-am
'add foo'
12
echo
newtext
>
foo
13
darcs wh
14
15
darcs
diff
--store
>
out1
16
cat
out1
17
grep
text out1
18
grep
foo out1
19
20
darcs
diff
>
out
21
cat
out
22
grep
text out
23
grep
foo out
24
25
diff
out out1
26
27
cd
..
28
29
rm
-rf
temp-$$