diff --git a/changelog.sh b/changelog.sh index 4882240..a556d2c 100755 --- a/changelog.sh +++ b/changelog.sh @@ -13,5 +13,5 @@ git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* git fetch --prune --unshallow 1>&2 git log "${base_ref}...${head_ref}" \ - --pretty=format:"* [view commit](http://github.com/${repo_url}/commit/%H) - %s" \ + --pretty=format:"* [%h](http://github.com/${repo_url}/commit/%H) - %s" \ --reverse diff --git a/dist/changelog.sh b/dist/changelog.sh index 4882240..a556d2c 100755 --- a/dist/changelog.sh +++ b/dist/changelog.sh @@ -13,5 +13,5 @@ git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* git fetch --prune --unshallow 1>&2 git log "${base_ref}...${head_ref}" \ - --pretty=format:"* [view commit](http://github.com/${repo_url}/commit/%H) - %s" \ + --pretty=format:"* [%h](http://github.com/${repo_url}/commit/%H) - %s" \ --reverse