1. 07 May, 2013 4 commits
    • Fix line numbering for patches with eofnl · c2f602f8
      When a patch contained an eofnl change (i.e. the last line either
      gained or lost a newline), the oldno and newno line number values
      for the lines in the last hunk of the patch were not useful.  This
      makes them behave in a more expected manner.
      Russell Belfer committed
    • Improve diff function docs · d63eec69
      Russell Belfer committed
    • Add GIT_DIFF_LINE_CONTEXT_EOFNL · e35e2684
      This adds a new line origin constant for the special line that
      is used when both files end without a newline.
      
      In the course of writing the tests for this, I was having problems
      with modifying a file but not having diff notice because it was
      the same size and modified less than one second from the start of
      the test, so I decided to start working on nanosecond timestamp
      support.  This commit doesn't contain the nanosecond support, but
      it contains the reorganization of maybe_modified and the hooks so
      that if the nanosecond data were being read by stat() (or rather
      being copied by git_index_entry__init_from_stat), then the nsec
      would be taken into account.
      
      This new stuff could probably use some more tests, although there
      is some amount of it here.
      Russell Belfer committed
  2. 06 May, 2013 6 commits
  3. 05 May, 2013 3 commits
  4. 04 May, 2013 3 commits
  5. 03 May, 2013 5 commits
  6. 02 May, 2013 19 commits