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  4f580e4324befae4224078e9e1bb552beeca0720 (commit)
      from  c2b86363045da50958294cfc17095cc44021f163 (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 4f580e4324befae4224078e9e1bb552beeca0720
Author: Gary V. Vaughan <[EMAIL PROTECTED]>
Date:   Sun Sep 7 05:19:01 2008 +0800

    Run `git commit -a' when no files are passed.
    * clcommit.m4sh (func_commit): Add -a argument if necessary.
    
    Signed-off-by: Gary V. Vaughan <[EMAIL PROTECTED]>

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

Summary of changes:
 ChangeLog     |    3 +++
 clcommit.m4sh |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 967fc40..1bda876 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-09-07  Gary V. Vaughan  <[EMAIL PROTECTED]>
 
+       Run `git commit -a' when no files are passed.
+       * clcommit.m4sh (func_commit): Add -a argument if necessary.
+
        Prepare for next stable release.
        * libltdl/Makefile.inc (LTDL_VERSION_INFO): Update.
        * libltdl/m4/libtool.m4: Bump serial number to account for
diff --git a/clcommit.m4sh b/clcommit.m4sh
index a3a2c28..4eefd07 100644
--- a/clcommit.m4sh
+++ b/clcommit.m4sh
@@ -361,6 +361,7 @@ func_commit ()
     subject=`git status 2>/dev/null | $SED -n 's/^#.*[mad][ode][dl].*ed: *//p'`
     test $# -gt 0 && subject="$@"
 
+    test $# -gt 0 || { set dummy -a; shift; }
     func_verbose "$GIT commit$git_flags -F $log_file [EMAIL PROTECTED]"
     $GIT commit$git_flags -F $log_file ${1+"$@"} || exit $EXIT_FAILURE
 


hooks/post-receive
--
GNU Libtool


Reply via email to