Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jpeach
Copy link
Contributor

@jpeach jpeach commented Apr 5, 2020

Ubuntu 18.04 has git version 2.17.1 which doesn't have the --show-current
flag available (It's in a newer version of git). This causes builds to
throw an error when the makefile looks for the current branch. Go back to
the old method of parsing git branch output to get the current branch.

This fixes #2414.

Signed-off-by: James Peach [email protected]

@jpeach jpeach requested review from poidag-zz and stevesloka April 5, 2020 21:18
@jpeach jpeach added this to the 1.4.0 milestone Apr 5, 2020
@poidag-zz
Copy link
Contributor

LGTM

Copy link
Member

@youngnick youngnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one small question.

@codecov
Copy link

codecov bot commented Apr 6, 2020

Codecov Report

Merging #2415 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2415      +/-   ##
==========================================
- Coverage   77.46%   77.42%   -0.04%     
==========================================
  Files          66       66              
  Lines        5423     5423              
==========================================
- Hits         4201     4199       -2     
- Misses       1132     1133       +1     
- Partials       90       91       +1     
Impacted Files Coverage Δ
internal/dag/cache.go 95.34% <0.00%> (-0.72%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 351b367...aec740f. Read the comment docs.

@jpeach jpeach force-pushed the fix/2414 branch 2 times, most recently from 417d64e to 8af4315 Compare April 6, 2020 03:36
Ubuntu 18.04 has git version 2.17.1 which doesn't have the --show-current
flag available (It's in a newer version of git). This causes builds to
throw an error when the makefile looks for the current branch. Go back to
the old method of parsing `git branch` output to get the current branch.

This fixes projectcontour#2414.

Signed-off-by: James Peach <[email protected]>
@jpeach
Copy link
Contributor Author

jpeach commented Apr 6, 2020

Sigh, Travis builds do this:

git branch
* (HEAD detached at FETCH_HEAD)
  master

@jpeach jpeach merged commit 9dced68 into projectcontour:master Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make check needs newer version of git

3 participants