Skip to content

Commit

Permalink
Merge pull request #8 from BaronChen/fix-commit-summary
Browse files Browse the repository at this point in the history
Fix script to use correct variable names
  • Loading branch information
JonCubed authored Feb 24, 2020
2 parents 246c45f + d30c0fd commit 90cb2c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/commit_summary.bash
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ set -euo pipefail

function commit_summary() {

local FROM_COMMIT="$1"
local TO_COMMIT="$2"
local FROM="$1"
local TO="$2"

# print out the commits that have been added
git log --pretty=tformat:'`%h` %s' "$FROM".."$TO"
Expand Down

0 comments on commit 90cb2c1

Please sign in to comment.