We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43fa0d8 commit 30382f4Copy full SHA for 30382f4
1 file changed
src/gitutils/_git-getcommit.sh
@@ -26,4 +26,4 @@ if [ -z "$sha" ]; then
26
fi
27
28
#### Display commit to fixup, keep only the sha, remove new line
29
-echo $sha | cut -d' ' -f1 | tr -d '\n'
+git rev-parse --verify "$sha^{commit}" | cut -d' ' -f1 | tr -d '\n'
0 commit comments