summaryrefslogtreecommitdiffstats
path: root/modules/git/repo_attribute.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/repo_attribute.go')
-rw-r--r--modules/git/repo_attribute.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/git/repo_attribute.go b/modules/git/repo_attribute.go
index e7d5fb6806..2b34f117f7 100644
--- a/modules/git/repo_attribute.go
+++ b/modules/git/repo_attribute.go
@@ -135,8 +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("--")
+ c.cmd.AddDynamicArguments(c.Attributes...)
var err error