diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-06-27 14:11:26 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-06-27 14:11:26 +0800 |
commit | 24b047524a341ad85fdf30b6e6c6a7c97af288e6 (patch) | |
tree | 8cb82e86b15f44ca7043997272c4858135c0f1f9 | |
parent | 91987b0dbef1ddcb59b71538508acfd2d1c47968 (diff) |
Update
-rwxr-xr-x | gist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -490,7 +490,7 @@ _pull_if_needed() { | |||
490 | local blob_code_local=$(_blob_code "$repo") | 490 | local blob_code_local=$(_blob_code "$repo") |
491 | cd "$repo" \ | 491 | cd "$repo" \ |
492 | && [[ $blob_code_local != "$blob_code" ]] \ | 492 | && [[ $blob_code_local != "$blob_code" ]] \ |
493 | && [[ $(git rev-parse origin/HEAD) == $(git rev-parse $(remote_head)) ]] \ | 493 | && [[ $(git rev-parse origin/HEAD) == $(git rev-parse $(_remote_head)) ]] \ |
494 | && git pull & | 494 | && git pull & |
495 | done | 495 | done |
496 | } | 496 | } |