mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-04 23:29:42 +02:00
schhist/schhist2web: explicitly suppress diff in "git show"
Seems that recent versions of git always display it while older versions only did, if using --pretty, when explicitly asked to do so.
This commit is contained in:
parent
2334bd83f4
commit
9385ad0c87
@ -67,7 +67,8 @@ EOF
|
|||||||
echo "<PRE>"
|
echo "<PRE>"
|
||||||
( cd "$dir" && git show \
|
( cd "$dir" && git show \
|
||||||
--pretty=format:"%aN <%aE>%n %ad%n%n %s" \
|
--pretty=format:"%aN <%aE>%n %ad%n%n %s" \
|
||||||
--quiet $next; ) | sed '/\(.\{'$CUTOFF'\}\).*/s//\1.../' |
|
--quiet $next; ) | sed '/^diff /Q' |
|
||||||
|
sed '/\(.\{'$CUTOFF'\}\).*/s//\1.../' |
|
||||||
sed 's/&/&/g;s/</\</g;s/>/\>/g' |
|
sed 's/&/&/g;s/</\</g;s/>/\>/g' |
|
||||||
if [ -z "$SCHHIST_COMMIT_TEMPLATE" ]; then
|
if [ -z "$SCHHIST_COMMIT_TEMPLATE" ]; then
|
||||||
cat
|
cat
|
||||||
|
Loading…
Reference in New Issue
Block a user