On 8 February 2013 16:23, Martijn van Oosterhout <kleptog@xxxxxxxxx> 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 <kleptog@xxxxxxxxx> http://svana.org/kleptog/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html