summaryrefslogtreecommitdiff
path: root/src/pkg/patch/patch.go
AgeCommit message (Collapse)AuthorFilesLines
2010-07-01strings and bytes.Split: make count of 0 mean 0, not infinite.Rob Pike1-1/+1
Use a count of -1 for infinity. Ditto for Replace. R=rsc CC=golang-dev http://codereview.appspot.com/1704044 Committer: Rob Pike <r@golang.org>
2010-01-26patch: handle text diffs from gitRuss Cox1-1/+4
R=r CC=golang-dev http://codereview.appspot.com/194094
2009-12-151) Change default gofmt default settings forRobert Griesemer1-96/+96
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 4th set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180049
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox1-8/+8
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-11Fix capitalisation of "Git".David Symonds1-4/+4
R=rsc http://codereview.appspot.com/154071 Committer: Russ Cox <rsc@golang.org>
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-17/+17
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-6/+2
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-04package patchRuss Cox1-0/+323
R=r http://go/go-review/1018043