git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Re: git diff --submodule=diff fails with submodules in a submodule
@ 2017-03-31 23:17 Stefan Beller
  2017-03-31 23:17 ` [PATCH 1/2] diff: submodule inline diff to initialize env array Stefan Beller
  2017-03-31 23:17 ` [PATCH 2/2] diff: recurse into nested submodules for inline diff Stefan Beller
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Beller @ 2017-03-31 23:17 UTC (permalink / raw)
  To: jacob.keller; +Cc: git, daveparrish, Stefan Beller

I came up with a patch that fixes the issue locally.
(It is the first patch, such that we can track the first patch down to maint)

While doing so, I noticed 2 issues:
* when having nested submodules, we probably want to have --submodule=diff
  to recurse into the nested submodules, so pass on the option.
  (2nd patch)
* the tests in t4060 hardcode hashes literally. I do not have a patch for that
  yet, but I will send patches later. (c.f. "sanitize_output" in t4202)
  
Thanks,
Stefan

Stefan Beller (2):
  diff: submodule inline diff to initialize env array.
  diff: recurse into nested submodules for inline diff

 submodule.c                                  |  4 +-
 t/t4060-diff-submodule-option-diff-format.sh | 70 ++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+), 1 deletion(-)

-- 
2.12.2.576.g7be6e4ba40.dirty


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

end of thread, other threads:[~2017-03-31 23:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-31 23:17 [PATCH 0/2] Re: git diff --submodule=diff fails with submodules in a submodule Stefan Beller
2017-03-31 23:17 ` [PATCH 1/2] diff: submodule inline diff to initialize env array Stefan Beller
2017-03-31 23:17 ` [PATCH 2/2] diff: recurse into nested submodules for inline diff Stefan Beller

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).