Re: [PATCH 03/18] notes.h/c: Clarify the handling of notes objects that are == null_sha1

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jonathan Nieder
Date: Tuesday, October 5, 2010 - 8:21 am

Johan Herland wrote:


Would it makes sense to split off that no-op as a separate patch?


No note present, but the node for one is.  This skips insertion of
empty notes, for consistency with:


The note-present case, where the combine_notes() function can
return a null sha1 to request that a note be removed.


The more usual no-note-present case.  Again, this skips insertion
of empty notes.

Do I understand correctly that the point of the main point of
this patch is to allow combine_notes() functions to request
that a note be deleted?  If so, it would be nice if the commit
message said so.

Regardless, for what it's worth,
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/18] git notes merge, Johan Herland, (Tue Sep 28, 5:23 pm)
Re: [PATCH 00/18] git notes merge, Sverre Rabbelier, (Wed Sep 29, 7:56 am)
Re: [PATCH 00/18] git notes merge, Johan Herland, (Wed Sep 29, 8:16 am)
Re: [PATCH 00/18] git notes merge, Sverre Rabbelier, (Wed Sep 29, 8:20 am)
Re: [PATCH 00/18] git notes merge, Johan Herland, (Wed Sep 29, 9:04 am)
Re: [PATCH 14/18] git notes merge: Manual conflict resolut ..., Ævar Arnfjörð Bjarmason, (Wed Sep 29, 9:19 am)
Re: [PATCH 10/18] git notes merge: Handle real, non-confli ..., Ævar Arnfjörð Bjarmason, (Wed Sep 29, 9:20 am)
Re: [PATCH 03/18] notes.h/c: Clarify the handling of notes ..., Jonathan Nieder, (Tue Oct 5, 8:21 am)