We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f354a82 commit 3c8c495Copy full SHA for 3c8c495
git.go
@@ -73,7 +73,7 @@ func init() {
73
func Fsck(repoPath string, timeout time.Duration, args ...string) error {
74
// Make sure timeout makes sense.
75
if timeout <= 0 {
76
- timeout == -1
+ timeout = -1
77
}
78
_, err := NewCommand("fsck").AddArguments(args...).RunInDirTimeout(timeout, repoPath)
79
return err
0 commit comments