Merge ~cjwatson/launchpad:old-git-compatibility into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 4378677840cf90dba3db65b6bc6cf8c2276f9f5e |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:old-git-compatibility |
Merge into: | launchpad:master |
Diff against target: |
16 lines (+4/-1) 1 file modified
Makefile (+4/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+440779@code.launchpad.net |
Commit message
Restore compatibility with xenial's git
Description of the change
Calling `git branch --show-current` from the `Makefile` produces ugly warnings on xenial systems. I don't _think_ it causes a hard failure except when publishing deployment artifacts to Swift (which we only do on focal anyway), but better safe than sorry.
To post a comment you must log in.
I have one alternative approach, which does not involve `sed`.