mirror of
https://github.com/grdl/git-get.git
synced 2026-02-12 06:44:03 +00:00
Fix typos in comments
This commit is contained in:
@@ -17,7 +17,7 @@ import (
|
|||||||
// It's handled by ErrorsCallback to tell the WalkCallback to skip this dir.
|
// It's handled by ErrorsCallback to tell the WalkCallback to skip this dir.
|
||||||
var ErrSkipNode = errors.New(".git directory found, skipping this node")
|
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")
|
var ErrDirectoryAccess = errors.New("directory doesn't exist or can't be accessed")
|
||||||
|
|
||||||
// TempDir creates a temporary directory for test repos.
|
// TempDir creates a temporary directory for test repos.
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ type Repo interface {
|
|||||||
|
|
||||||
// prints status of currently checked out branch and the work tree.
|
// prints status of currently checked out branch and the work tree.
|
||||||
// The format is: branch_name branch_status [ worktree_status ]
|
// 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 {
|
func printCurrentBranchLine(r Repo) string {
|
||||||
var res []string
|
var res []string
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user