]> Pileus Git - ~andy/git/commit
transport-helper: check if the dry-run is supported
authorFelipe Contreras <felipe.contreras@gmail.com>
Tue, 21 May 2013 01:32:04 +0000 (20:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 May 2013 16:54:05 +0000 (09:54 -0700)
commit21457f5719b894a5997d66ff098b375bc2404260
tree01c8335e11471d036c19bfa85d15d1e0116f234b
parent67c9c782dae17822266783f8b5e15d73e7c91c65
transport-helper: check if the dry-run is supported

Certain remote-helpers (the ones with 'export') would try to push
regardless.

Obviously this is not what the user wants.

Also, add a check for the 'dry-run' option, so remote-helpers can
implement it.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport-helper.c