diff options
Diffstat (limited to 'src/pkg/patch/patch.go')
-rw-r--r-- | src/pkg/patch/patch.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/patch/patch.go b/src/pkg/patch/patch.go index 25f03fe61..81a2dfcfc 100644 --- a/src/pkg/patch/patch.go +++ b/src/pkg/patch/patch.go @@ -4,7 +4,7 @@ // Package patch implements parsing and execution of the textual and // binary patch descriptions used by version control tools such as -// CVS, GIT, Mercurial, and Subversion. +// CVS, Git, Mercurial, and Subversion. package patch import ( @@ -70,7 +70,7 @@ var newline = []byte{'\n'} // Parse patches the patch text to create a patch Set. // The patch text typically comprises a textual header and a sequence // of file patches, as would be generated by CVS, Subversion, -// Mercurial, or GIT. +// Mercurial, or Git. func Parse(text []byte) (*Set, os.Error) { // Split text into files. // CVS and Subversion begin new files with @@ -78,7 +78,7 @@ func Parse(text []byte) (*Set, os.Error) { // ================== // diff -u blah blah // - // Mercurial and GIT use + // Mercurial and Git use // diff [--git] a/file/path b/file/path. // // First look for Index: lines. If none, fall back on diff lines. @@ -208,7 +208,7 @@ func Parse(text []byte) (*Set, os.Error) { break; } if hasPrefix(l, "index ") || hasPrefix(l, "GIT binary patch") { - diff, err := ParseGITBinary(oldraw); + diff, err := ParseGitBinary(oldraw); if err != nil { return nil, err } |