diff options
| -rw-r--r-- | git/git.go | 1 | ||||
| -rw-r--r-- | main.go | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -91,7 +91,6 @@ func (g *gitMod) Diff(source *model.Source) (int, int, int, error) { case strings.Contains(s, "deletion"): deletions = num default: - spool.Warn("%v", string(b)) return changes, insertions, deletions, UnknownResponseError } @@ -2,6 +2,7 @@ package main import ( _ "embed" + "fmt" "github.com/spf13/pflag" "os" "pik/cache" @@ -161,6 +162,7 @@ func main() { } if confirm || ForceConfirm { + _, _ = fmt.Fprintf(os.Stderr, "this target is out of tree.\n") if !menu.Confirm(os.Stdin, src, target, args...) { os.Exit(0) } |
