Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkg/gitparse/gitparse.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ func (c *Parser) RepoPath(
abbreviatedLog bool,
excludedGlobs []string,
isBare bool,
additionalArgs ...string,
) (chan *Diff, error) {
args := []string{
"-C", source,
Expand All @@ -249,6 +250,7 @@ func (c *Parser) RepoPath(
for _, glob := range excludedGlobs {
args = append(args, "--", ".", ":(exclude)"+glob)
}
args = append(args, additionalArgs...)

cmd := exec.Command("git", args...)
absPath, err := filepath.Abs(source)
Expand Down
Loading