[PATCH 0/4] git-notes ui fixes regarding non-blobs notes
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- May 10, 2012, 14:04 UTC
- Message-ID
- <1336658701-9004-1-git-send-email-pclouds@gmail.com>
- In-Reply-To
- <1336482692-30729-1-git-send-email-pclouds@gmail.com>
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(-)
-- 1.7.8.36.g69ee2