Skip to content

[0.10] git context: fix support for empty git ref with subdir#3603

Closed
crazy-max wants to merge 3 commits into
moby:v0.10from
crazy-max:v0.10_fix-git-content
Closed

[0.10] git context: fix support for empty git ref with subdir#3603
crazy-max wants to merge 3 commits into
moby:v0.10from
crazy-max:v0.10_fix-git-content

Conversation

@crazy-max
Copy link
Copy Markdown
Member

backport of:

I just take partial changes from #2799 to have the git context parsing logic from gitutil package. I could just avoid any backport and directly fix on v0.10 branch if you want. Let me know what sounds best.

crazy-max and others added 3 commits February 8, 2023 18:24
partial cherry picked from commit 8bfeafa

Co-authored-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit b5c9183)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit 6a2287e)
@crazy-max crazy-max marked this pull request as draft February 8, 2023 17:50
@crazy-max crazy-max changed the title [0.10 backport] git context: fix support for empty git ref with subdir [0.10] git context: fix support for empty git ref with subdir Feb 8, 2023
@crazy-max
Copy link
Copy Markdown
Member Author

Acutally no need any backport to v0.10 branch as this regression has been introduced in v0.11 through #2799.

@crazy-max crazy-max closed this Feb 8, 2023
@crazy-max crazy-max deleted the v0.10_fix-git-content branch February 8, 2023 18:03
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.

1 participant