Re: [PATCH v3] notes: Allow committish expressions as notes ref

2015-07-09 Thread Johan Herland
On Thu, Jul 9, 2015 at 4:48 AM, Mike Hommey wrote: > init_notes() is the main point of entry to the notes API. It is an arbitrary > restriction that all it allows as input is a strict ref name, when callers > may want to give an arbitrary committish. > > However, some operations that require updat

[PATCH v3] notes: Allow committish expressions as notes ref

2015-07-08 Thread Mike Hommey
init_notes() is the main point of entry to the notes API. It is an arbitrary restriction that all it allows as input is a strict ref name, when callers may want to give an arbitrary committish. However, some operations that require updating the notes tree require a strict ref name, because they wo