chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8af1799
)
git-debpush: check_treesame: Also pass --quiet to 'git diff'
author
Sean Whitton
<spwhitton@spwhitton.name>
Sun, 21 Jul 2019 10:35:38 +0000
(11:35 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 22 Jul 2019 15:09:15 +0000
(16:09 +0100)
Otherwise, when using git-debpush in a terminal, the user will get a
pile of unwanted diff output each time check_treesame is called.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
git-debpush
patch
|
blob
|
history
diff --git
a/git-debpush
b/git-debpush
index beb24fbf2ba7b421ede799540d445bd40adb6ce9..31537511f8c354b57e5241a94014bf5ac53f8472 100755
(executable)
--- a/
git-debpush
+++ b/
git-debpush
@@
-105,7
+105,7
@@
check_treesame () {
shift 2
set +e
- git diff --exit-code "$first".."$second" -- . "$@"
+ git diff --
quiet --
exit-code "$first".."$second" -- . "$@"
git_diff_rc=$?
set -e