Skip to content

Commit bb0a5cc

Browse files
felipecgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7a43c55 commit bb0a5cc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Documentation/gitremote-helpers.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ Miscellaneous capabilities
159159
carried out.
160160

161161
'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.
167167
+
168168
A helper advertising the capability
169169
`refspec refs/heads/*:refs/svn/origin/branches/*`

0 commit comments

Comments
 (0)