From: Stefan Beller <sbeller@google.com>
To: jacob.keller@gmail.com
Cc: git@vger.kernel.org, daveparrish@gmail.com,
Stefan Beller <sbeller@google.com>
Subject: [PATCH 0/2] Re: git diff --submodule=diff fails with submodules in a submodule
Date: Fri, 31 Mar 2017 16:17:31 -0700 [thread overview]
Message-ID: <20170331231733.11123-1-sbeller@google.com> (raw)
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
next reply other threads:[~2017-03-31 23:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-31 23:17 Stefan Beller [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170331231733.11123-1-sbeller@google.com \
--to=sbeller@google.com \
--cc=daveparrish@gmail.com \
--cc=git@vger.kernel.org \
--cc=jacob.keller@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).