submodule update: allow custom command to update submodule working tree
authorChris Packham <judge.packham@gmail.com>
Wed, 3 Jul 2013 09:02:02 +0000 (21:02 +1200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Jul 2013 17:15:15 +0000 (10:15 -0700)
Users can set submodule.$name.update to '!command' which will cause
'command' to be run instead of checkout/merge/rebase. This allows
the user finer-grained control over how the update is done.

The primary motivation for this was interoperability with stgit;
however being able to intercept the submodule update process may
prove useful for integrating with or extending other tools.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found