On 8 February 2013 16:23, Martijn van Oosterhout <klep...@gmail.com> wrote:
>  git_commit_non_empty_tree()
>  {
> +        if test $# = 1 && test -z "$(git ls-tree $1)" ; then
> +                skip_commit "$@"
> +        fi
>          if test $# = 3 && test "$1" = $(git rev-parse "$3^{tree}"); then
>                  map "$3"
>          else
>                  git commit-tree "$@"
>          fi
>  }

This bit is a but bunk, the fi should be an else, otherwise it does nothing.

Have a nice day,
-- 
Martijn van Oosterhout <klep...@gmail.com> http://svana.org/kleptog/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to