chiark
/
gitweb
/
~ian
/
topgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Indicate the current branch in "tg summary --graphviz"
[topgit.git]
/
tg-patch.sh
diff --git
a/tg-patch.sh
b/tg-patch.sh
index f703a875fea699beda8ef672fa2c73cacdb9b83a..7bafdfe1896a2181dd572f99ad2e81553b7df409 100644
(file)
--- a/
tg-patch.sh
+++ b/
tg-patch.sh
@@
-57,7
+57,7
@@
git diff --name-only $diff_opts "$base_rev" ${diff_committed_only:+"$name"} -- |
fgrep -vx ".topmsg" >"$git_is_stupid" || : # fgrep likes to fail randomly?
if [ -s "$git_is_stupid" ]; then
cd "$root_dir"
fgrep -vx ".topmsg" >"$git_is_stupid" || : # fgrep likes to fail randomly?
if [ -s "$git_is_stupid" ]; then
cd "$root_dir"
- cat "$git_is_stupid" | xargs git diff --patch-with-stat $diff_opts "$base_rev" ${diff_committed_only:+"$name"} --
+ cat "$git_is_stupid" | xargs git diff -
a -
-patch-with-stat $diff_opts "$base_rev" ${diff_committed_only:+"$name"} --
else
echo "No changes."
fi
else
echo "No changes."
fi