Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Fix generation of the header of the patch #643
and 1 other
commented on an outdated diff
Apr 25, 2012
|@@ -579,9 +585,8 @@ static int print_patch_file(void *data, git_diff_delta *delta, float progress)|
|- if (pi->print_cb(pi->cb_data, GIT_DIFF_LINE_FILE_HDR, pi->buf->ptr) < 0 |||
|- delta->binary != 1)|
|- return -1;|
|+ if (delta->binary != 1)|
|+ return pi->print_cb(pi->cb_data, GIT_DIFF_LINE_FILE_HDR, pi->buf->ptr);|