Code

http-push: add trailing slash at arg-parse time, instead of later on
authorTay Ray Chuan <rctay89@gmail.com>
Thu, 25 Nov 2010 08:21:09 +0000 (16:21 +0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Nov 2010 22:50:46 +0000 (14:50 -0800)
commit1462d1af69247af5fa2b43f7b4fe61ec3c71b55a
treea4a8fc6e3ad08fda137ffe4988493092096fba2e
parentdfc2dcd9acf95794788f9471028485c2d2cc78ef
http-push: add trailing slash at arg-parse time, instead of later on

That way, we don't have to update repo->path and repo->path_len again
after adding the trailing slash.

Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-push.c