summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrikant Patnaik2015-02-18 23:49:38 +0530
committerSrikant Patnaik2015-02-18 23:49:38 +0530
commit48f91ad5e2914da164cef47b89ac4ff30bda077b (patch)
treebcd9d5e401b22b1713947cdcbd97c03a28e0c08d
parent571e4efe0971ad182c765a2940fac061835a858c (diff)
downloadFOSSEE-netbook-tools-48f91ad5e2914da164cef47b89ac4ff30bda077b.tar.gz
FOSSEE-netbook-tools-48f91ad5e2914da164cef47b89ac4ff30bda077b.tar.bz2
FOSSEE-netbook-tools-48f91ad5e2914da164cef47b89ac4ff30bda077b.zip
This will sync the tags at remote end too
-rwxr-xr-xpatcher.sh2
1 files changed, 1 insertions, 1 deletions
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