Skip to content

Commit 03e9c4d

Browse files
authored
Update modules/git/command.go
Signed-off-by: wxiaoguang <[email protected]>
1 parent 31fe470 commit 03e9c4d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/git/command.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ func (c *Command) ProcessState() string {
8282
// NewCommand creates and returns a new Git Command based on given command and arguments.
8383
// Each argument should be safe to be trusted. User-provided arguments should be passed to AddDynamicArguments instead.
8484
func NewCommand(args ...internal.CmdArg) *Command {
85-
// Make an explicit copy of globalCommandArgs, otherwise append might overwrite it
8685
cargs := make([]string, 0, len(args))
8786
for _, arg := range args {
8887
cargs = append(cargs, string(arg))

0 commit comments

Comments
 (0)