1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:54:40 -07:00
go/refactor/rename
Scott Mansfield abfa4875c0 cmd/gorename: Fixing panic when showing diffs
When displaying a diff the gorename command would panic because the
stdout variable was never set. These changes default stdout to
os.Stdout.

Fixes https://github.com/golang/go/issues/14009

Change-Id: I0902b2b4e2b8e1f46f8ab50e30dcfc841c925174
Reviewed-on: https://go-review.googlesource.com/18813
Reviewed-by: Alan Donovan <adonovan@google.com>
2016-01-21 20:39:40 +00:00
..
check14.go x/tools/...: fork and tag !1.5 all files that use go/types et al 2016-01-06 20:40:09 +00:00
check.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +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
rename14.go cmd/gorename: Fixing panic when showing diffs 2016-01-21 20:39:40 +00:00
rename_test.go refactor/rename: skip Diff test on Windows (build fix attempt) 2016-01-08 00:30:52 +00:00
rename.go cmd/gorename: Fixing panic when showing diffs 2016-01-21 20:39:40 +00:00
spec14.go refactor/rename: fix crash with "." as -from package 2016-01-08 19:32:44 +00:00
spec.go refactor/rename: fix crash with "." as -from package 2016-01-08 19:32:44 +00:00
util14.go x/tools/...: fork and tag !1.5 all files that use go/types et al 2016-01-06 20:40:09 +00:00
util.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00