AmendHub

Download:

jcs

/

amend

/

amendments

/

25

repo: Don't use D_IGNOREBLANKS for diffreg

Using this causes some diffs to be wrong when the change was just
indenting or unindenting a line.

jcs made amendment 25 over 3 years ago
--- repo.c Mon Oct 18 17:12:17 2021 +++ repo.c Fri Oct 29 15:13:38 2021 @@ -726,7 +726,7 @@ repo_diff_file(struct repo *repo, struct repo_file *fi label0[strlen(label0) - 1] = '\0'; label1[strlen(label1) - 1] = '\0'; - ret = diffreg(fromfilepath, tofilepath, D_IGNOREBLANKS | D_PROTOTYPE); + ret = diffreg(fromfilepath, tofilepath, D_PROTOTYPE); /* delete temp file */ error = FSDelete(fromfilename, repo->vrefnum);