mirror of
https://github.com/git-for-windows/git.git
synced 2026-06-27 00:58:30 -05:00
Merge branch 'fixes-from-the-git-mailing-list'
These fixes have been sent to the Git mailing list but have not been picked up by the Git project yet. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
committed by
Git for Windows Build Agent
commit
561a08f732
@@ -1647,6 +1647,8 @@ static int grep_source_1(struct grep_opt *opt, struct grep_source *gs, int colle
|
||||
|
||||
bol = gs->buf;
|
||||
left = gs->size;
|
||||
if (left && gs->buf[left-1] == '\n')
|
||||
left--;
|
||||
while (left) {
|
||||
const char *eol;
|
||||
int hit;
|
||||
|
||||
Reference in New Issue
Block a user