Skip to content

Commit

Permalink
Merge pull request #95 from VinceMacBuche/bug_7324/rudder_dev_tries_t…
Browse files Browse the repository at this point in the history
…o_fork_when_own_repository_is_not_the_first_one

Fixes #7324: rudder-dev tries to fork when own repository is not the first one!
  • Loading branch information
peckpeck committed Oct 29, 2015
2 parents 6dd31e4 + a4f4f04 commit b85b54f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rudder-dev/rudder-dev
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ def fetch_branch_from_ticket(ticket):
def github_fork():
# we don't need to fork if the remote is known
remotes = shell("git remote show", keep_output=True).strip()
if re.match('^'+OWN_REPOSITORY+"\n", remotes, flags=re.MULTILINE):
if re.search('^'+OWN_REPOSITORY+"$", remotes, flags=re.MULTILINE):
return False

# fork the report if not already forked
Expand Down

0 comments on commit b85b54f

Please sign in to comment.