commands/track: clarify verbose log messages
This commit is contained in:
parent
08862035ef
commit
26d3cc1571
@ -90,13 +90,17 @@ 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.
|
||||||
|
if trackVerboseLoggingFlag {
|
||||||
Print("Searching for files matching pattern: %s", pattern)
|
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)
|
if trackVerboseLoggingFlag {
|
||||||
|
Print("Found %d files previously added to Git 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