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>
Felipe Contreras committed
Apr 17, 2013 at 23:14 UTC
bb0a5cc9dc574e1dda4ee6bcb1e0f166d29dcd65
1 file changed
+5
-5
Documentation/gitremote-helpers.txt
+5
-5
@@ -159,11 +159,11 @@ Miscellaneous capabilities
159
carried out.
160
161
'refspec' <refspec>::
162
- This modifies the 'import' capability, allowing the produced
163
- fast-import stream to modify refs in a private namespace
164
- instead of writing to refs/heads or refs/remotes directly.
165
- It is recommended that all importers providing the 'import'
166
- capability use this.
162
+ For remote helpers that implement 'import' or 'export', this capability
163
+ allows the refs to be constrained to a private namespace, instead of
164
+ writing to refs/heads or refs/remotes directly.
165
+ It is recommended that all importers providing the 'import' or 'export'
166
+ capabilities use this.
167
+
168
A helper advertising the capability
169
`refspec refs/heads/*:refs/svn/origin/branches/*`