diff options
| author | Michael Forney <mforney@mforney.org> | 2019-06-19 12:20:18 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-06-19 12:20:18 -0700 |
| commit | 10b83649e920920e26c3b4e6e2d319a198156402 (patch) | |
| tree | b2b56c365bd73ce43f31fb897a0c268f6127a894 /scripts | |
| parent | 211ecad3787e7245e9bd455bb7269ea9e8674a2b (diff) | |
Use source revision in commit message
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/commit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/commit.sh b/scripts/commit.sh index 0d9ef12d..d2d9a844 100644 --- a/scripts/commit.sh +++ b/scripts/commit.sh @@ -18,7 +18,7 @@ else fi if [ -z "${commit+set}" ] ; then - commit=$(git -C "$repo" commit-tree -m "oasis built by $(id -un)" "$@" "$tag") + commit=$(git -C "$repo" commit-tree -m "oasis $(git rev-parse --short=10 HEAD)" "$@" "$tag") git -C "$repo" update-ref "refs/heads/$branch" "$commit" fi echo "$commit" >"$out.tmp" && mv "$out.tmp" "$out" |
