FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Hot fix historywalk · nodegit/nodegit@bb013be · GitHub

Repository navigation

Commit bb013be

Browse files
committed
Hot fix historywalk
was dropping deleted events due to rename detection.
1 parent 743c2a4 commit bb013be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎generate/templates/manual/revwalk/file_history_walk.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void GitRevwalk::FileHistoryWalkWorker::Execute()
100100
bool isEqualNewFile = !strcmp(delta->new_file.path, baton->file_path);
101101

102102
if (isEqualNewFile) {
103-
if (delta->status == GIT_DELTA_ADDED || delta->status == GIT_DELTA_DELETED) {
103+
if (delta->status == GIT_DELTA_ADDED) {
104104
doRenamedPass = true;
105105
break;
106106
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL