This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  c39115a3f83ceceb31d7ebba4af9b65bde6de737 (commit)
      from  1a3cd365c08196584165a6dea16bd874e4a1004d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c39115a3f83ceceb31d7ebba4af9b65bde6de737
Author: Gary V. Vaughan <[email protected]>
Date:   Wed Jun 9 19:34:34 2010 +0700

    Fix a quoting bug with ./commit -a 'A U Thor'.
    
    * clcommit.m4sh (func_commit): Use func_show_eval when calling
    git, so that the previously func_quote_for_eval()ed $git_flags is
    expanded properly.
    
    Signed-off-by: Gary V. Vaughan <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog     |    7 +++++++
 clcommit.m4sh |   13 +++----------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0543999..a1bc465 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-06-09  Gary V. Vaughan  <[email protected]>
+
+       Fix a quoting bug with ./commit -a 'A U Thor'.
+       * clcommit.m4sh (func_commit): Use func_show_eval when calling
+       git, so that the previously func_quote_for_eval()ed $git_flags is
+       expanded properly.
+
 2009-09-15  Peter Rosin  <[email protected]>
 
        Don't try the MSYS libdir path on MinGW.
diff --git a/clcommit.m4sh b/clcommit.m4sh
index 93d5f99..6157cd2 100644
--- a/clcommit.m4sh
+++ b/clcommit.m4sh
@@ -266,18 +266,11 @@ func_commit ()
     test $# -gt 0 && subject="$@"
 
     test $# -gt 0 || { set dummy -a; shift; }
-    func_verbose "$GIT commit $git_flags -F $log_file ${...@}"
-    $opt_dry_run ||
-        $GIT commit $git_flags -F $log_file ${1+"$@"} || exit $EXIT_FAILURE
+    func_show_eval "$GIT commit $git_flags -F $log_file ${...@}" "exit 
$EXIT_FAILURE"
 
     $opt_push && {
-      func_verbose "$GIT push"
-      $opt_dry_run || $GIT push
-
-      $opt_tags && {
-         func_verbose "$GIT push --tags"
-         $opt_dry_run || $GIT push --tags
-      }
+      func_show_eval "$GIT push"
+      $opt_tags && func_show_eval "$GIT push --tags"
     }
 
     :


hooks/post-receive
-- 
GNU Libtool

Reply via email to