summaryrefslogtreecommitdiff
path: root/compat/snprintf.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-08-20 07:30:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-08-21 06:48:07 (GMT)
commit711521e246ea7d7b9bb10a1607cdd0a6de6a9927 (patch)
tree26df25c1d6137404eacbe07d86f96cc9ca88a726 /compat/snprintf.c
parent4dc1db0bd1fc4eedea1ae8ceeee43cb0ea3322ca (diff)
downloadgit-711521e246ea7d7b9bb10a1607cdd0a6de6a9927.zip
git-711521e246ea7d7b9bb10a1607cdd0a6de6a9927.tar.gz
git-711521e246ea7d7b9bb10a1607cdd0a6de6a9927.tar.bz2
git-svn: fix dcommit to urls with embedded usernames
Don't rely on the extracted URL from working_head_info since that has the username removed. Instead use the $gs->full_url method (as before with ba24e74 (git-svn: add ability to specify --commit-url for dcommit, 2008-08-07)) to give us the URL to commit to if --commit-url is not specified. Aditionally, since we clean usernames from URLs, checking the URL after rebase can fail because it doesn't match the URL we used to commit; so unconditionally provide a username-free URL for checking the result of the refetch. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/snprintf.c')
0 files changed, 0 insertions, 0 deletions