]> git.ipfire.org Git - thirdparty/git.git/commit - transport-helper.c
transport-helper: update remote helper namespace
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 18 Apr 2013 04:14:33 +0000 (23:14 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Apr 2013 06:27:03 +0000 (23:27 -0700)
commit664059fb624467975da5c9a4bf6053c83126eaa7
tree7f01a0081438385c561d336ae2db4b85d4fe27fd
parent9c51558cfb6ffe104da45d324194d9f1ebf9bc65
transport-helper: update remote helper namespace

When pushing, the remote namespace is updated correctly
(e.g. refs/origin/master), but not the remote helper's
(e.g. refs/testgit/origin/master), which currently is only
updated while fetching.

Since the remote namespace is used to tell fast-export which commits
to avoid (because they were already imported/exported), it makes
sense to have them in sync so they don't get generated twice. If the
remote helper was implemented properly, they would be ignored, if
not, they probably would end up repeated.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5801-remote-helpers.sh
transport-helper.c