]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Fix positional arguments on commit action
authorrhatto <rhatto@ratatosk.fluxo.info>
Fri, 4 Apr 2014 18:17:55 +0000 (15:17 -0300)
committerrhatto <rhatto@ratatosk.fluxo.info>
Fri, 4 Apr 2014 18:17:55 +0000 (15:17 -0300)
lib/keyringer/actions/commit
lib/keyringer/actions/git

index 47937c2cecce1013246d0bec4a2d1e5f9a47fd91..b1249275cfe04a1ddbf0120e90cd93846b873e32 100755 (executable)
@@ -7,4 +7,8 @@
 LIB="`dirname $0`/../functions"
 source "$LIB" || exit 1
 
+# Fix positional arguments
+shift
+
+# Run git command
 keyringer_exec git "$BASEDIR" commit $*
index d4e7aa439d1842dcd2b8e1acaa66939586b5155c..059b20e14a53a4d4fa59c453b58db0a1a130bb51 100755 (executable)
@@ -10,8 +10,9 @@ source "$LIB" || exit 1
 # Aditional parameters
 CWD="`pwd`"
 
-# Run git command
+# Fix positional arguments
 shift
 
+# Run git command
 mkdir -p "$BASEDIR" && cd "$BASEDIR" && git $*
 cd "$CWD"