[PATCH v2] notes: allow merging from arbitrary references

2015-12-29 Thread Jacob Keller
From: Jacob Keller 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

[PATCH v2] notes: allow merging from arbitrary references

2015-11-20 Thread Jacob Keller
From: Jacob Keller 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