Selaa lähdekoodia

add commit log output to gimme gimme

Kyle Davis 8 vuotta sitten
vanhempi
commit
36264148fd
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      gimme

+ 2 - 0
gimme

@@ -108,7 +108,9 @@ if [[ "$0" =~ [-]?bash ]]; then # sourced or piped
 
 			echo "Updating gimme (in $GIMME_DIR) ..."
 			cd "$GIMME_DIR"
+			OLD_REV=$(git rev-parse HEAD)
 			git pull
+			git log --oneline "$OLD_REV.."
 
 		fi