transport-helper: update refspec documentation

The refspec capability is not only used by 'import', also by
'export', and it's recommended in both.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Felipe Contreras 2013-04-17 23:14:29 -05:00 committed by Junio C Hamano
parent 7a43c55415
commit bb0a5cc9dc

View File

@ -159,11 +159,11 @@ Miscellaneous capabilities
carried out. carried out.
'refspec' <refspec>:: 'refspec' <refspec>::
This modifies the 'import' capability, allowing the produced For remote helpers that implement 'import' or 'export', this capability
fast-import stream to modify refs in a private namespace allows the refs to be constrained to a private namespace, instead of
instead of writing to refs/heads or refs/remotes directly. writing to refs/heads or refs/remotes directly.
It is recommended that all importers providing the 'import' It is recommended that all importers providing the 'import' or 'export'
capability use this. capabilities use this.
+ +
A helper advertising the capability A helper advertising the capability
`refspec refs/heads/*:refs/svn/origin/branches/*` `refspec refs/heads/*:refs/svn/origin/branches/*`