diff options
author | Malfurious <m@lfurio.us> | 2023-08-18 13:12:06 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2023-08-18 13:45:53 -0400 |
commit | 1eb6c4158f0ada8378fb4866065cbea1809ab600 (patch) | |
tree | 5397f60f63f86bb314a87f59a93ea71988a2f854 /acid | |
parent | 4d72b3f149a2bb80b5d371e661eb80324e2442bc (diff) | |
download | cychedelic-1eb6c4158f0ada8378fb4866065cbea1809ab600.tar.gz cychedelic-1eb6c4158f0ada8378fb4866065cbea1809ab600.zip |
acid: source: Summarize commit we are building from
For the sake of the logs, print out the oneline summary of the commit we
deemed to be the latest available for deployment.
The `git checkout "$next"` command that is run just a couple lines up
would also display this information if we didn't redirect it to
/dev/null. However, it also produces other noisy output such as the
"You are in detached HEAD state" message or "Leaving X commits behind"
warning. Therefore, just summarize the commit ourselves.
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'acid')
-rwxr-xr-x | acid/cyche-source | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/acid/cyche-source b/acid/cyche-source index e53ef6f..8d80c9c 100755 --- a/acid/cyche-source +++ b/acid/cyche-source @@ -56,6 +56,9 @@ if [ "$prev" != "$next" ]; then git checkout "$next" >/dev/null 2>&1 git submodule update --init --recursive >/dev/null 2>&1 + echo -n "Checked out " >&2 + git log -1 --oneline --no-abbrev-commit --no-decorate >&2 + exit 1 fi |