[RFC/PATCH 0/2] submodule: drop the top-level requirement
- From
John Keeping <john@keeping.me.uk>
- Date
- Apr 7, 2013, 19:55 UTC
- Message-ID
- <cover.1365364193.git.john@keeping.me.uk>
With the recent discussion, I wondered how hard it would be to add SUBDIRECTORY_OK=Yes to git-submodule.sh and it doesn't seem that bad.
Note that this series currently lacks both tests and documentation updates. Also I have made no attempt to change the output from any commands, so submodule paths are always printed relative to the top-level of the repository.
Consider this series a proof-of-concept, to see whether I'm on completely the wrong course.
John Keeping (2): rev-parse: add --filename-prefix option submodule: drop the top-level requirement
builtin/rev-parse.c | 17 ++++++++++++----- git-submodule.sh | 7 +++++++ 2 files changed, 19 insertions(+), 5 deletions(-)
-- 1.8.2.694.ga76e9c3.dirty