Skip to content

Commit

Permalink
repo_diff: detect file mode change
Browse files Browse the repository at this point in the history
  • Loading branch information
unknwon committed Jun 8, 2017
1 parent 6ad2152 commit 1de103d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion git.go
Expand Up @@ -10,7 +10,7 @@ import (
"time"
)

const _VERSION = "0.6.2"
const _VERSION = "0.6.3"

func Version() string {
return _VERSION
Expand Down
2 changes: 2 additions & 0 deletions repo_diff.go
Expand Up @@ -293,6 +293,8 @@ func ParsePatch(done chan<- error, maxLines, maxLineCharacteres, maxFiles int, r
curFile.Name = b
curFile.Index = b
break CHECK_TYPE
case strings.HasPrefix(line, "old mode"):
break CHECK_TYPE
}
}
}
Expand Down

0 comments on commit 1de103d

Please sign in to comment.