6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-04 14:31:49 +00:00

Fix typos in comments

This commit is contained in:
Grzegorz Dlugoszewski
2020-06-25 00:00:09 +02:00
parent 8c132cdafa
commit fe07ab3c8a
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ import (
// It's handled by ErrorsCallback to tell the WalkCallback to skip this dir.
var ErrSkipNode = errors.New(".git directory found, skipping this node")
// ErrDirectoryAccess indicated a direcotry doesn't exists or can't be accessed
// ErrDirectoryAccess indicated a directory doesn't exists or can't be accessed
var ErrDirectoryAccess = errors.New("directory doesn't exist or can't be accessed")
// TempDir creates a temporary directory for test repos.

View File

@@ -43,7 +43,7 @@ type Repo interface {
// prints status of currently checked out branch and the work tree.
// The format is: branch_name branch_status [ worktree_status ]
// Eg: master 1 head 2 behind [ 1 uncomitted ]
// Eg: master 1 head 2 behind [ 1 uncommitted ]
func printCurrentBranchLine(r Repo) string {
var res []string