DescriptionIgnore Emacs auto-save files in lbox pre-checks
Emacs auto-save files are named '.#...', so if you have a storage.go file open, Emacs will keep a '.#storage.go' file around for auto-saving. However, the way we pass arguments to gofmt means that '.#' will not be properly escaped and gofmt will not be able to open the file, thus stopping an lbox propose.
This change removes any filenames beginning with '.#' with a simple grep.
https://code.launchpad.net/~danilo/juju-core/lbox-check-emacs/+merge/169183
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Ignore Emacs auto-save files in lbox pre-checks #
MessagesTotal messages: 5
|