Skip to content

Commit

Permalink
add comment for empty "--"
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang committed Feb 4, 2023
1 parent b9455b3 commit 123144e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/git/repo_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ func (c *CheckAttributeReader) Init(ctx context.Context) error {

c.env = append(c.env, "GIT_FLUSH=1")

// The empty "--" comes from #16773 , and it seems unnecessary because nothing else would be added later.
c.cmd.AddDynamicArguments(c.Attributes...).AddArguments("--")

var err error
Expand Down

0 comments on commit 123144e

Please sign in to comment.