Skip to content
Permalink
Browse files

Add comment about trimming before slashes

  • Loading branch information
tfoote committed Mar 5, 2015
1 parent cfa9180 commit a9e34a703da8af95c298c100e640e63335d5a868
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/main/resources/hudson/plugins/git/BranchSpec/help-name.html
@@ -4,6 +4,10 @@

<p>The safest way is to use the <tt>refs/heads/&lt;branchName&gt;</tt> syntax. This way the expected branch
is unambiguous.</p>

<p>If your branch name has a <tt>/</tt> in it make sure to use the full reference above. When not presented
with a full path the plugin will only use the part of the string right of the last slash.
Meaning <tt>foo/bar</tt> will actually match <tt>bar</tt></p>

<p>Possible options:
<ul>
@@ -52,4 +56,4 @@
expression.
</ul>
</p>
</div>
</div>

0 comments on commit a9e34a7

Please sign in to comment.
You can’t perform that action at this time.