command/track: Print() when searching for files
This commit is contained in:
parent
75c40be709
commit
f516dfecc7
@ -91,11 +91,13 @@ ArgsLoop:
|
|||||||
// Since all `git-lfs track` calls are relative to the root of
|
// Since all `git-lfs track` calls are relative to the root of
|
||||||
// the repository, the leading slash is simply removed for its
|
// the repository, the leading slash is simply removed for its
|
||||||
// implicit counterpart.
|
// implicit counterpart.
|
||||||
|
Print("Searching for files matching pattern: %s", pattern)
|
||||||
gittracked, err := git.GetTrackedFiles(pattern)
|
gittracked, err := git.GetTrackedFiles(pattern)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
LoggedError(err, "Error getting git tracked files")
|
LoggedError(err, "Error getting git tracked files")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Print("Found %d files matching pattern: %s", len(gittracked), pattern)
|
||||||
now := time.Now()
|
now := time.Now()
|
||||||
|
|
||||||
var matchedBlocklist bool
|
var matchedBlocklist bool
|
||||||
|
Loading…
Reference in New Issue
Block a user