Re: [PATCH 03/15] rev-parse: add an --object-format option

2019-10-08 Thread brian m. carlson
On 2019-10-08 at 11:51:45, Derrick Stolee wrote: > On 10/5/2019 5:11 PM, brian m. carlson wrote: > > Add an option to print the object format used for input, output, or > > storage. This allows shell scripts to discover the hash algorithm in > > use. > > Why put this in 'rev-parse'? Is a test help

Re: [PATCH 03/15] rev-parse: add an --object-format option

2019-10-08 Thread Derrick Stolee
On 10/5/2019 5:11 PM, brian m. carlson wrote: > Add an option to print the object format used for input, output, or > storage. This allows shell scripts to discover the hash algorithm in > use. Why put this in 'rev-parse'? Is a test helper not an option for this? -Stolee

[PATCH 03/15] rev-parse: add an --object-format option

2019-10-05 Thread brian m. carlson
Add an option to print the object format used for input, output, or storage. This allows shell scripts to discover the hash algorithm in use. Since the transition plan allows for multiple input algorithms, document that we may provide multiple results for input, and the format that the results may