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:
parent
7a43c55415
commit
bb0a5cc9dc
@ -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/*`
|
||||||
|
Loading…
Reference in New Issue
Block a user