Skip to content
Snippets Groups Projects

helpers/generate_common.sh: fix condition for default reference

Merged Karel Koci requested to merge bugfix/generate-checkout-default into hbl

The default reference should be used when no reference is given. The original check was invalid because it checked that result is non-empty but that never happens (ignoring case when someone used ';' or '^' without specifying reference) as such URL misses ';' and '^'. The result thus was whole URL. This now correctly detects the case when reference is specified.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading