summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpull.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/pull.sh b/pull.sh
index d0c06ba..3272e1d 100755
--- a/pull.sh
+++ b/pull.sh
@@ -9,6 +9,10 @@ function status {
DIR=$(pwd)
cd "$1"
echo "$2 ($(git symbolic-ref --short -q HEAD)):"
+ if [[ "${CMD}" == "more" ]]; then
+ git last
+ fi
+
if [[ "${CMD}" == "force" ]]; then
git pull --commit --no-edit
cd "$DIR"