summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Sousa <danilopopeye@users.noreply.github.com>2017-09-11 17:21:05 -0300
committerGitHub <noreply@github.com>2017-09-11 17:21:05 -0300
commit695937fda9dc7087f3359b9c86aded762cb9c575 (patch)
treebb3f77ca545adefa0bf74e382ad80583c3f55809
parentbed22e823da33d7955b3102b5f43ec3e27d70363 (diff)
parentd250ca4947448bc90a537fcec9954ce5af98a216 (diff)
Merge pull request #1002 from asenci/fix#1001
Fix #1001: Use git show instead of git diff for reporting changes
-rwxr-xr-xextra/oxidized-report-git-commits2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/oxidized-report-git-commits b/extra/oxidized-report-git-commits
index db36ecf..193e2cd 100755
--- a/extra/oxidized-report-git-commits
+++ b/extra/oxidized-report-git-commits
@@ -58,4 +58,4 @@ echo "Git repo: ${OX_REPO_NAME}"
echo "Git commit ID: ${OX_REPO_COMMITREF}"
echo ""
-git --bare --git-dir="${OX_REPO_NAME}" diff --no-color "${OX_REPO_COMMITREF}~1..${OX_REPO_COMMITREF}"
+git --bare --git-dir="${OX_REPO_NAME}" show --pretty='' --no-color "${OX_REPO_COMMITREF}"