Jacob Keller
b3715b7522
notes: allow merging from arbitrary references
...
Create a new expansion function, expand_loose_notes_ref which will first
check whether the ref can be found using get_sha1. If it can't be found
then it will fallback to using expand_notes_ref. The content of the
strbuf will not be changed if the notes ref can be located using
get_sha1. Otherwise, it may be updated as done by expand_notes_ref.
Since we now support merging from non-notes refs, remove the test case
associated with that behavior. Add a test case for merging from a
non-notes ref.
Signed-off-by: Jacob Keller <jacob.keller@gmail.com >
Reviewed-by: Johan Herland <johan@herland.net >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2016-01-17 13:59:01 -08:00
..
2015-11-05 12:18:12 -08:00
2015-11-20 08:02:05 -05:00
2015-10-05 11:08:04 -07:00
2015-12-10 12:36:13 -08:00
2015-11-20 08:02:05 -05:00
2015-10-16 15:27:52 -07:00
2015-10-16 15:27:52 -07:00
2015-10-16 15:27:52 -07:00
2015-11-20 08:02:05 -05:00
2015-10-05 11:08:06 -07:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-12-10 12:36:13 -08:00
2015-09-25 10:18:18 -07:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-09-17 10:02:49 -07:00
2015-11-20 08:02:05 -05:00
2015-11-20 06:55:34 -05:00
2015-10-16 15:27:52 -07:00
2015-12-10 12:36:13 -08:00
2015-10-16 15:27:52 -07:00
2015-10-05 11:08:06 -07:00
2015-11-20 08:02:05 -05:00
2015-11-20 04:52:01 -05:00
2015-12-15 10:03:40 -08:00
2015-11-20 08:02:05 -05:00
2015-09-25 10:18:18 -07:00
2015-10-21 15:59:34 -07:00
2015-09-25 10:18:18 -07:00
2015-11-20 08:02:05 -05:00
2015-11-03 15:32:41 -08:00
2015-10-05 11:08:05 -07:00
2015-09-25 10:18:18 -07:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-10-16 15:27:52 -07:00
2015-11-20 08:02:05 -05:00
2016-01-17 13:59:01 -08:00
2015-11-20 08:02:05 -05:00
2015-10-16 15:27:52 -07:00
2015-11-03 15:32:25 -08:00
2015-11-20 08:02:05 -05:00
2015-12-22 14:40:47 -08:00
2015-09-25 10:18:18 -07:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-09-25 10:18:18 -07:00
2015-11-20 08:02:05 -05:00
2015-11-03 15:32:25 -08:00
2015-11-20 08:02:05 -05:00
2015-10-05 13:20:08 -07:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:07 -05:00
2015-11-03 15:32:38 -08:00
2015-12-21 12:03:03 -08:00
2015-10-26 15:55:22 -07:00
2015-09-25 10:18:18 -07:00
2015-11-20 08:02:05 -05:00
2015-09-25 10:18:18 -07:00
2015-11-20 08:02:05 -05:00