send-pack.c: pass the url as argument to send_pack

Pass the transport url as an argument to send_pack(). We will need this
later when we add staged push support since we will need to write the url
to the staging file.

Change-Id: Ifbfaf5a7c8a0923238d972fbf6fc4a654e16389b
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
connect.c: add a function to extract a path from a url

Add helper function git_path_from_url() that will extract the path
component from a url.

Change-Id: I64c66c1f508018931f6a058e24c984cd3d85a2cd
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
send-pack.c: add --staged-push support

TBD

Change-Id: Id54018388ae7d9c3283576b8dff23ed46557a36b
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>