summaryrefslogtreecommitdiff
path: root/html-gen.sh
diff options
context:
space:
mode:
authorPatrik Willard <wildcard@padowi.se>2011-07-07 10:27:49 +0200
committerp4bl0 <r@uzy.me>2011-07-07 10:27:49 +0200
commitbcb998c65ec6cc74d3e0f60830f493585245db94 (patch)
treeff28d6edf5f8f9bf511e090d181451a398fb3069 /html-gen.sh
parent5dfb982bdccbcf548b14282660322c07b12a6323 (diff)
replacing --quiet option of git-show with the more reliable -s option
Diffstat (limited to 'html-gen.sh')
-rw-r--r--html-gen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/html-gen.sh b/html-gen.sh
index 40ac0cc..28fca41 100644
--- a/html-gen.sh
+++ b/html-gen.sh
@@ -90,11 +90,11 @@ get_article_content() {
}
get_commit_info() {
- git show --quiet --format="$1" "$2"
+ git show -s --format="$1" "$2"
}
get_commit_body() {
tmp=`mktemp`
- git show --quiet --format="%b" "$1" > "$tmp"
+ git show -s --format="%b" "$1" > "$tmp"
if [ "`cat \"$tmp\" | sed \"/^$/d\" | wc -l`" != "0" ]; then
echo "$tmp"
fi