git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] submodule: move gitdir into superproject
@ 2011-08-08 19:17 Fredrik Gustafsson
  2011-08-08 19:17 ` [PATCH v2 1/2] rev-parse: add option --is-well-formed-git-dir [path] Fredrik Gustafsson
  2011-08-08 19:17 ` [PATCH v2 2/2] Move git-dir for submodules Fredrik Gustafsson
  0 siblings, 2 replies; 8+ messages in thread
From: Fredrik Gustafsson @ 2011-08-08 19:17 UTC (permalink / raw)
  To: git; +Cc: iveqy, jens.lehmann, hvoigt, gitster

Move git-dir for submodules into $GIT_DIR/modules/[name_of_submodule] of
the superproject. This is a step towards being able to delete submodule
directories without loosing the information from their .git directory
as that is now stored outside the submodules work tree.

This is done relying on the already existent .git-file functionality.
Tests that rely on .git being a directory have been fixed.

This is the second iteration of this patchseries. The first can be found here:
http://thread.gmane.org/gmane.comp.version-control.git/177582


Fredrik Gustafsson (2):
  rev-parse: add option --is-well-formed-git-dir [path]
  Move git-dir for submodules

 Documentation/git-rev-parse.txt |    4 ++
 builtin/rev-parse.c             |    8 +++
 cache.h                         |    1 +
 git-submodule.sh                |   49 ++++++++++++++++--
 setup.c                         |    7 +++
 t/t7400-submodule-basic.sh      |    4 +-
 t/t7403-submodule-sync.sh       |    5 +-
 t/t7406-submodule-update.sh     |  107 +++++++++++++++++++++++++++++++++++++++
 t/t7407-submodule-foreach.sh    |  103 +++++++++++++++++++------------------
 t/t7408-submodule-reference.sh  |    4 +-
 10 files changed, 231 insertions(+), 61 deletions(-)

-- 
1.7.6.398.g47bcd.dirty

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-08-11 23:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-08 19:17 [PATCH v2 0/2] submodule: move gitdir into superproject Fredrik Gustafsson
2011-08-08 19:17 ` [PATCH v2 1/2] rev-parse: add option --is-well-formed-git-dir [path] Fredrik Gustafsson
2011-08-11 23:34   ` Junio C Hamano
2011-08-08 19:17 ` [PATCH v2 2/2] Move git-dir for submodules Fredrik Gustafsson
2011-08-08 20:44   ` Heiko Voigt
2011-08-08 21:34     ` Junio C Hamano
2011-08-09 18:23       ` Heiko Voigt
2011-08-11 23:34   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).