From 48f91ad5e2914da164cef47b89ac4ff30bda077b Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Wed, 18 Feb 2015 23:49:38 +0530 Subject: This will sync the tags at remote end too --- patcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'patcher.sh') diff --git a/patcher.sh b/patcher.sh index 3d89a3e..87656b4 100755 --- a/patcher.sh +++ b/patcher.sh @@ -88,7 +88,7 @@ function check_internet() { # Fetch updates if internet is available and formulate a CSV function list_updates() { # If internet available just merge the changes (won't update patches automatically) - [ $INET_AVAILABLE -eq 1 ] && git pull &>/dev/null + [ $INET_AVAILABLE -eq 1 ] && git tag -l | xargs git tag -d && git pull &>/dev/null # Create CSV of commits with only tags( git tags are used to group similar patches) git log --pretty=\;\(%ar\)\;%d\;%s\;\(%h\) --no-walk --tags >\ $all_commits_one_liner_with_date -- cgit