logical doc inside untrackCommand
This commit is contained in:
parent
34f1d3918e
commit
6da94596db
@ -41,6 +41,8 @@ func untrackCommand(cmd *cobra.Command, args []string) {
|
||||
}
|
||||
|
||||
scanner := bufio.NewScanner(attributes)
|
||||
// Iterate through each line of the attributes file and rewrite it(!),
|
||||
// if the path was meant to be untracked, omit it and print a message instead.
|
||||
for scanner.Scan() {
|
||||
line := scanner.Text()
|
||||
if strings.Contains(line, "filter=lfs") {
|
||||
|
Loading…
Reference in New Issue
Block a user