[packages/ruby-di-ruby-lvm-attrib] add push hint

glen glen at pld-linux.org
Mon Jul 13 21:53:12 CEST 2015


commit 5878a24ba882f0899438474c7271062ee8b81e33
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jul 13 22:53:08 2015 +0300

    add push hint

 pld-update-attributes.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/pld-update-attributes.sh b/pld-update-attributes.sh
index 9b664f3..b153841 100755
--- a/pld-update-attributes.sh
+++ b/pld-update-attributes.sh
@@ -28,6 +28,13 @@ lvm_dir=$(ls -d "$lvm_version("*")-git")
 attr_dir=lib/lvm/attributes/${lvm_dir%-git}
 mv $lvm_dir $attr_dir
 
+git_branch=LVM-$lvm_version
 git add -A $attr_dir
-git checkout -b LVM-$lvm_version
+git checkout -b $git_branch
 git commit -am "Added $lvm_version attributes"
+
+cat <<EOF
+To push, run:
+git push --set-upstream origin $git_branch
+
+EOF
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-di-ruby-lvm-attrib.git/commitdiff/5878a24ba882f0899438474c7271062ee8b81e33



More information about the pld-cvs-commit mailing list