summaryrefslogtreecommitdiff
path: root/t/t5517-push-mirror.sh
AgeCommit message (Collapse)AuthorFilesLines
2008-04-20Add a remote.*.mirror configuration optionLibravatar Paolo Bonzini1-1/+40
This patch adds a remote.*.mirror configuration option that, when set, automatically puts git-push in --mirror mode for that remote. Furthermore, the option is set automatically by `git remote add --mirror'. The code in remote.c to parse remote.*.skipdefaultupdate had a subtle problem: a comment in the code indicated that special care was needed for boolean options, but this care was not used in parsing the option. Since I was touching related code, I did this fix too. [jc: and I further fixed up the "ignore boolean" code.] Signed-off-by: Paolo Bonzini <bonzini@gnu.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2007-11-12Add tests for git push'es mirror modeLibravatar Andy Whitcroft1-0/+228
Add some tests for git push --mirror mode. Signed-off-by: Andy Whitcroft <apw@shadowen.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>