summaryrefslogtreecommitdiffhomepage
path: root/scripts/check_upstream.sh
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-06-16 10:35:35 +0800
committertypebrook <typebrook@gmail.com>2019-06-16 10:35:35 +0800
commit0d055366e08bcd2faf6f90cbf9404404e940fdcd (patch)
tree7ed361fd66bc11bed2ea1069b58b8e9dc3c00a58 /scripts/check_upstream.sh
parent3a2e2cf27cbad20874d7eff5eea5048bdafc31ed (diff)
update
Diffstat (limited to 'scripts/check_upstream.sh')
-rwxr-xr-xscripts/check_upstream.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/check_upstream.sh b/scripts/check_upstream.sh
index 2212df3..3ebf3dd 100755
--- a/scripts/check_upstream.sh
+++ b/scripts/check_upstream.sh
@@ -1,6 +1,7 @@
1# This script is for repo forked from others 1# This script is for repo forked from others
2# check $1(repo) if upstream branch origin/master is 2# check $1(repo) if upstream branch origin/master is
3# ahead of local branch $2(default to dev) 3# ahead of local branch $2(default to dev)
4
4check_upstream() { 5check_upstream() {
5 6
6 if [ ! -d $1 ]; then 7 if [ ! -d $1 ]; then