Change in gerrit-admin[master]: fix get_branches function in gerrit.sh file

eedri at redhat.com eedri at redhat.com
Sun Aug 28 11:21:35 UTC 2016


Eyal Edri has submitted this change and it was merged.

Change subject: fix get_branches function in gerrit.sh file
......................................................................


fix get_branches function in gerrit.sh file

The function returns a branch name for the passed pattern
(target milestone) if it exist.
The old command doesn't work so i've replaced it with a new one:

old command ==> git branch --list <pattern>
new command ==> git branch -a | grep -E <pattern>

Change-Id: I8f1fce222a901f3fd2261ed20fc08393b4ad468c
Signed-off-by: Shlomi Ben-David <sbendavi at redhat.com>
---
M hooks/lib/gerrit.sh
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Shlomo Ben David: Verified
  Eyal Edri: Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/62856
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8f1fce222a901f3fd2261ed20fc08393b4ad468c
Gerrit-PatchSet: 5
Gerrit-Project: gerrit-admin
Gerrit-Branch: master
Gerrit-Owner: Shlomo Ben David <sbendavi at redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Shlomo Ben David <sbendavi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list