Skip to content

git-notes ui fixes regarding non-blobs notes

Nguyễn Thái Ngọc Duy git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4notes: preserve object type given by "add -C"builtin/notes.c t/t3301-notes.sh+15 -30 replies
2/4notes: "add -c" refuses to open an editor with non-blobsbuiltin/notes.c t/t3301-notes.sh+6 -02 replies
3/4notes: refuse to edit non-blobsbuiltin/notes.c t/t3301-notes.sh+8 -20 replies
4/4notes: refuse to append to non-blob notesbuiltin/notes.c t/t3301-notes.sh+8 -10 replies
4/4notes: only append a blob to a blobbuiltin/notes.c t/t3301-notes.sh+23 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] git-notes ui fixes regarding non-blobs notes

Thanks Jeff and Junio for all the comments. This is basically what you (and I) agree in v1's thread. The first patch is a new one, to avoid git-notes from converting everything to blobs. I don't restrict the "show" case either because git-notes uses "git show", which is capable of displaying all kinds of objects.

Nguyễn Thái Ngọc Duy (4):
notes: preserve object type given by "add -C"
notes: "add -c" refuses to open an editor with non-blobs
notes: refuse to edit non-blobs
notes: refuse to append to non-blob notes

 builtin/notes.c  |   21 +++++++++++++++------
 t/t3301-notes.sh |   22 ++++++++++++++++++++++
 2 files changed, 37 insertions(+), 6 deletions(-)
Signature · 1 line
1.7.8.36.g69ee2