Fixed tree logs for branches with slash. Fixed remember of path when switch branch
This commit is contained in:
parent
f9528bfb86
commit
aa97ff7fde
3 changed files with 3 additions and 3 deletions
|
@ -52,7 +52,7 @@ module ExtractsPath
|
|||
|
||||
# Remove project, actions and all other staff from path
|
||||
input.gsub!(/^\/#{Regexp.escape(@project.path_with_namespace)}/, "")
|
||||
input.gsub!(/^\/(tree|commits|blame|blob)\//, "") # remove actions
|
||||
input.gsub!(/^\/(tree|commits|blame|blob|refs)\//, "") # remove actions
|
||||
input.gsub!(/\?.*$/, "") # remove stamps suffix
|
||||
input.gsub!(/.atom$/, "") # remove rss feed
|
||||
input.gsub!(/\/edit$/, "") # remove edit route part
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue