From 6da94596db76db4f83a0ce003da883130e5ded9c Mon Sep 17 00:00:00 2001 From: kafkaf- Date: Sat, 11 Apr 2015 13:56:50 +0300 Subject: [PATCH] logical doc inside untrackCommand --- commands/command_untrack.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/command_untrack.go b/commands/command_untrack.go index 5c17066f..07cd3a9b 100644 --- a/commands/command_untrack.go +++ b/commands/command_untrack.go @@ -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") {