-
- Downloads
\#to_branch_name now uses the iid as postfix
Given the branch name 'mep-mep' with an iid being 1, the current way, master's way, would yield a branch name of 1-mep-mep. The problem for larger projects however would be that a developer might forget what iid the issue was. When this developer would try to tab complete it would: - Or result in 20+ branches possibly - Or start with the wrong digit, try again with digit++ - Would see 20 branches, repeat Thus the obvious way of solving this is letting the dev tab complete on the issue title, which is easier to remember.
Showing
- app/models/issue.rb 3 additions, 4 deletionsapp/models/issue.rb
- app/services/merge_requests/build_service.rb 1 addition, 1 deletionapp/services/merge_requests/build_service.rb
- app/services/system_note_service.rb 1 addition, 1 deletionapp/services/system_note_service.rb
- spec/models/issue_spec.rb 3 additions, 3 deletionsspec/models/issue_spec.rb
Please register or sign in to comment