aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xgist2
1 files changed, 1 insertions, 1 deletions
diff --git a/gist b/gist
index 1eb725e..d95561f 100755
--- a/gist
+++ b/gist
@@ -282,7 +282,7 @@ _check_repo_status() {
282 # files contents are not the same with the last time called GIST API, so warn user to call 'gist fetch' 282 # files contents are not the same with the last time called GIST API, so warn user to call 'gist fetch'
283 [[ $(_blob_code "$1") != "$2" ]] 2>/dev/null && local status="\e[31m[outdated]\e[0m" 283 [[ $(_blob_code "$1") != "$2" ]] 2>/dev/null && local status="\e[31m[outdated]\e[0m"
284 # current HEAD is newer than remote, warn user to call 'git push' 284 # current HEAD is newer than remote, warn user to call 'git push'
285 [[ -n $(git cherry) ]] 2>/dev/null && local status="\e[31m[ahead]\e[0m" 285 [[ -n $(git cherry origin) ]] 2>/dev/null && local status="\e[31m[ahead]\e[0m"
286 echo "$status" 286 echo "$status"
287 fi 287 fi
288 fi 288 fi