Skip to content

Commit 123144e

Browse files
committed
add comment for empty "--"
1 parent b9455b3 commit 123144e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/git/repo_attribute.go

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ func (c *CheckAttributeReader) Init(ctx context.Context) error {
135135

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

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

140141
var err error

0 commit comments

Comments
 (0)