1
0
mirror of https://github.com/golang/go synced 2024-11-19 05:54:44 -07:00
go/refactor/rename
Alan Donovan 108b52ee61 cmd/gorename: -d flag prints diffs instead of rewriting files
The user may specify the diff tool using the -diffcmd flag.

+ test.

Also:
- eliminate redundant DryRun flag
- simplify Verbose messages using log.SetPrefix

Fixes issue #13355

Change-Id: I917edc73e31ddf0f5d5b9b30c43f826465529da1
Reviewed-on: https://go-review.googlesource.com/18208
Reviewed-by: Michael Matloob <matloob@golang.org>
2015-12-30 15:25:00 +00:00
..
check.go refactor/rename: fix build breakage (due to go/types version skew) 2015-08-31 21:13:35 +00:00
go-rename.el refactor/rename: emacs: set up autoloading of go-rename function 2015-10-27 13:38:02 +00:00
mvpkg_test.go cmd/gorename: -d flag prints diffs instead of rewriting files 2015-12-30 15:25:00 +00:00
mvpkg.go cmd/gorename: -d flag prints diffs instead of rewriting files 2015-12-30 15:25:00 +00:00
rename_test.go cmd/gorename: -d flag prints diffs instead of rewriting files 2015-12-30 15:25:00 +00:00
rename.go cmd/gorename: -d flag prints diffs instead of rewriting files 2015-12-30 15:25:00 +00:00
spec.go cmd/gorename: -d flag prints diffs instead of rewriting files 2015-12-30 15:25:00 +00:00
util.go astutil: move to go/ast/astutil 2015-01-13 15:47:47 +00:00