logical doc inside untrackCommand

This commit is contained in:
kafkaf- 2015-04-11 13:56:50 +03:00
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") {