Skip to content

Commit aefec0c

Browse files
committed
Change how show the no staged files
1 parent 3def6b7 commit aefec0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func mainAction(c *cli.Context) error {
4141
fmt.Println()
4242
stagedFilesLen := len(stagedFiles)
4343
if stagedFilesLen == 0 {
44-
fmt.Println("no staged files.")
44+
fmt.Println("\tno staged files.")
4545
}
4646
for i, file := range stagedFiles {
4747
color.Green.Printf("\t[%d]\t%v\t%v\n", i+1, file.Status, file.Path)
@@ -52,7 +52,7 @@ func mainAction(c *cli.Context) error {
5252
fmt.Println()
5353
unstagedFilesLen := len(unstagedFiles)
5454
if unstagedFilesLen == 0 {
55-
fmt.Println("no unstaged files.")
55+
fmt.Println("\tno unstaged files.")
5656
}
5757
for i, file := range unstagedFiles {
5858
color.Red.Printf("\t[%d]\t%v\t%v\n", i+1+stagedFilesLen, file.Status, file.Path)

0 commit comments

Comments
 (0)