Adding commit range feature via 'commit-to' and 'commit-from' options

This commit is contained in:
Zach Rice committed 2020-01-11 16:46:58 -05:00
1 parent 593edeae21
commit a0f72a4e35
11 files changed
+250 -9

No files matched your search

+1 -1
View File
@@ -247,7 +247,7 @@ func (repo *Repo) Audit() error {
semaphore := make(chan bool, howManyThreads(repo.Manager.Opts.Threads))
wg := sync.WaitGroup{}
err = cIter.ForEach(func(c *object.Commit) error {
if c == nil {
if c == nil || c.Hash.String() == repo.Manager.Opts.CommitTo {
return storer.ErrStop
}