Re: [PATCH 13/14] submodule: make zero-oid comparison hash function agnostic
- From
Stefan Beller <sbeller@google.com>
- Date
- Oct 8, 2018, 23:10 UTC
- Message-ID
- <CAGZ79kbLqcvH9Zd5fH4NECvuES6FQ+jOFDcv713_5SXa-NvQ3g@mail.gmail.com>
- In-Reply-To
- <20181008215701.779099-14-sandals@crustytoothpaste.net>
On Mon, Oct 8, 2018 at 2:57 PM brian m. carlson <sandals@crustytoothpaste.net> wrote:
Show 8 quoted lines
> > With SHA-256, the length of the all-zeros object ID is longer. Add a > function to git-submodule.sh to check if a full hex object ID is the > all-zeros value, and use it to check the output we're parsing from git > diff-files or diff-index. > > Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> > ---
Nice!