rewrite getline() to avoid double-copy.

it's read(2)-based now instead of fgets(3)-based, does all buffering itself
and is considerably faster that way.  Note that we spend a _lot_ of time
in it while parsing the map - for large deltas the map can easily be *big*.
1 file changed
tree: a1b155ed8a54e1f637aaedbd5760944e78a72e64
  1. diff-remap-data
  2. git-remap-data
  3. remap-log.c
  4. what-it-does