chiark
/
gitweb
/
~mdw
/
dvddb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a67efe1
)
cycle: Print a diff of the changes, if there are any.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 28 May 2024 18:35:28 +0000
(19:35 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 28 May 2024 18:35:28 +0000
(19:35 +0100)
cycle
patch
|
blob
|
blame
|
history
diff --git
a/cycle
b/cycle
index 6f4a177ea8e12f2f58a2a4bfa7dee2c1ac37cd56..43f561d51ecaaea0b6a0b81178090a8d1bdb5b9c 100755
(executable)
--- a/
cycle
+++ b/
cycle
@@
-2,5
+2,5
@@
./update PATHS
./report >PATHS.new
-if
cmp -s
PATHS.new PATHS; then rm PATHS.new
+if
diff -u
PATHS.new PATHS; then rm PATHS.new
else mv PATHS.new PATHS; fi