1
mirror of git://git.acid.vegas/random.git synced 2024-12-04 13:36:39 +00:00
This commit is contained in:
Dionysus 2023-05-05 18:23:04 -04:00
parent 0e36414ce9
commit e2563d3bb6
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -4,6 +4,7 @@ _data=$(git log -1 --graph --pretty=format:"%h|%s|%cn")
_hash=$(echo "$_data" | cut -d'|' -f1 | cut -c 3-)
_msg=$(echo "$_data" | cut -d'|' -f2)
echo $(dirname $GIT_DIR)
_name=$(echo "$_data" | cut -d'|' -f3)
_repo=$(basename -s .git $(git config --get remote.origin.url))