Re: [PATCH 3/6] Allow the transport fetch command to add additional refs
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 5, 2010, 02:18 UTC
- Message-ID
- <20101005021833.GC10818@burratino>
- In-Reply-To
- <1286108511-55876-3-git-send-email-tom@dbservice.com>
Tomas Carnecky wrote:
Show 6 quoted lines
> Remote helpers such as those for svn may chose to save the Git SHA1 -> Subversion > revision mapping as notes attached to the commits (as opposed to strings in the > commit message itself). The helper would need to update the notes on each fetch, > but the user should not be bothered by the presence of that ref. The remote > helper can update the notes tree through fast-import and then inform Git core > that it should silently update the notes ref.
What is the advantage of this approach over having fast-import update the notes ref (but not the others) on its own?
Curious, Jonathan