File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -142,8 +142,9 @@ OPTIONS
142
142
143
143
-C <object>::
144
144
--reuse-message=<object>::
145
- Take the note message from the given blob object (for
146
- example, another note).
145
+ Take the given blob object (for example, another note) as the
146
+ note message. (Use `git notes copy <object>` instead to
147
+ copy notes between objects.)
147
148
148
149
-c <object>::
149
150
--reedit-message=<object>::
@@ -285,6 +286,8 @@ $ blob=$(git hash-object -w a.out)
285
286
$ git notes --ref=built add -C "$blob" HEAD
286
287
------------
287
288
289
+ (You cannot simply use `git notes --ref=built add -F a.out HEAD`
290
+ because that is not binary-safe.)
288
291
Of course, it doesn't make much sense to display non-text-format notes
289
292
with 'git log', so if you use such notes, you'll probably need to write
290
293
some special-purpose tools to do something useful with them.
You can’t perform that action at this time.
0 commit comments