[packages/rpm-build-tools] ac-tag: push -f in case remote already has AC-branch tag

glen glen at pld-linux.org
Mon Jun 10 23:00:20 CEST 2013


commit 0fbec6c0b332ee611ac5e1e2a3bc2c53b8da96f0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jun 10 23:59:41 2013 +0300

    ac-tag: push -f in case remote already has AC-branch tag

 shrc.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/shrc.sh b/shrc.sh
index dd2435e..8e36984 100755
--- a/shrc.sh
+++ b/shrc.sh
@@ -37,7 +37,7 @@ ac-tag() {
 	fi
 
 	git tag -f $branch
-	git push origin $branch
+	git push -f origin $branch
 }
 
 # undo spec utf8
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/639c7cec56df53c5d4d71be533dae35f242b0475



More information about the pld-cvs-commit mailing list