Re: [PATCH v10 0/9] submodule inline diff format
- From
Stefan Beller <sbeller@google.com>
- Date
- Aug 23, 2016, 01:00 UTC
- Message-ID
- <CAGZ79kbKibe2RpQ9QWN1naY07feZLKbhc+dts3BD-4+y-pUOVw@mail.gmail.com>
- In-Reply-To
- <20160822234344.22797-1-jacob.e.keller@intel.com>
On Mon, Aug 22, 2016 at 4:43 PM, Jacob Keller <jacob.e.keller@intel.com> wrote:
Show 5 quoted lines
> From: Jacob Keller <jacob.keller@gmail.com> > > A few suggestions from Stefan in regards to falling back to > .git/modules/<path> being a bad idea. I've chosen I think to avoid using > die() as we just stick with the current path if we can't find its name.
Which makes the existing bug more subtle :(
> I think this should be safe since we already do this today.
It's a bug today already. Thanks for spotting!
> The new flow > only changes if we are able to lookup the submodule, so I don't think > it's worth adding a die() call.
Well this series improves the buggy-ness as it is only buggy when the name is not found, and we fall back on the path.