aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohan Herland <johan@herland.net>2010-02-13 22:28:36 +0100
committerJunio C Hamano <gitster@pobox.com>2010-02-13 19:36:16 -0800
commit0691cff7dca6b68569183be991d59ebb72b6170e (patch)
treef69cff5cac52e0b624317a6ecf2472fb2496451b /Makefile
parent348f199b2d9250a82453323c90b7e8d3d9462220 (diff)
downloadgit-0691cff7dca6b68569183be991d59ebb72b6170e.tar.gz
git-0691cff7dca6b68569183be991d59ebb72b6170e.tar.xz
builtin-notes: Add -c/-C options for reusing notes
Inspired by the -c/-C options to "git commit", we teach these options to "git notes add/append" to allow reuse of note objects. With this patch in place, it is now easy to copy or move notes between objects. For example, to copy object A's notes to object B: git notes add [-f] -C $(git notes list A) B To move instead of copying, you simply remove the notes from the source object afterwards, e.g.: git notes remove A The patch includes tests verifying correct behaviour of the new functionality. Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions