(4450f3514) whoops again
This commit is contained in:
@@ -126,7 +126,7 @@ branchshortsha="${branchsha:0:7}"
|
|||||||
#assumes that the commit message starts with hash1...hash2
|
#assumes that the commit message starts with hash1...hash2
|
||||||
prevcommitmsg="$(git log -1 --pretty=%B)"
|
prevcommitmsg="$(git log -1 --pretty=%B)"
|
||||||
prevcommitsha="${prevcommitmsg:10:7}"
|
prevcommitsha="${prevcommitmsg:10:7}"
|
||||||
firstmsgchar="${prevcommitmsg:1:1}"
|
firstmsgchar="${prevcommitmsg:0:1}"
|
||||||
if [ $firstmsgchar = "(" ]; then
|
if [ $firstmsgchar = "(" ]; then
|
||||||
prevcommitsha="${prevcommitmsg:1:7}"
|
prevcommitsha="${prevcommitmsg:1:7}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user