On 07/15, René Scharfe wrote:
> Am 30.05.2017 um 19:30 schrieb Brandon Williams:
> > @@ -392,7 +392,7 @@ static int add(int argc, const char **argv, const char
> > *prefix)
> > const char *object_ref;
> > struct notes_tree *t;
> > unsigned char object[20], new_note[20];
> > - const u
Am 30.05.2017 um 19:30 schrieb Brandon Williams:
> @@ -392,7 +392,7 @@ static int add(int argc, const char **argv, const char
> *prefix)
> const char *object_ref;
> struct notes_tree *t;
> unsigned char object[20], new_note[20];
> - const unsigned char *note;
> + const st
From: "brian m. carlson"
Make get_note return a pointer to a const struct object_id. Add a
defensive check to ensure we don't accidentally dereference a NULL
pointer.
Signed-off-by: brian m. carlson
Signed-off-by: Brandon Williams
---
builtin/notes.c | 22 +++---
notes-cache
3 matches
Mail list logo