Skip to content

Commit

Permalink
feat(git): make diff exclusion results the same in different director…
Browse files Browse the repository at this point in the history
…ies (#147)
  • Loading branch information
RanceJen committed Mar 13, 2024
1 parent c49c6ad commit 8822a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type Command struct {
func (c *Command) excludeFiles() []string {
var excludedFiles []string
for _, f := range c.excludeList {
excludedFiles = append(excludedFiles, ":(exclude)"+f)
excludedFiles = append(excludedFiles, ":(exclude,top)"+f)
}
return excludedFiles
}
Expand Down

0 comments on commit 8822a03

Please sign in to comment.