1. 17 Jan, 2012 2 commits
    • Remove poor git__removechar function · 83bfbdf5
      Going back over this, the git__removechar function was not
      needed (only invoked once) and is actually mislabeled.  As
      implemented, it really only made sense for removing backslash
      characters, since two of the "removed" characters in a row
      would include the second one -- i.e. it really implements
      stripping backslash-escaped strings where a backslash allows
      internal whitespace in a word.
      Russell Belfer committed
    • Fix handling of relative paths for attrs · a51cd8e6
      Per issue #533, the handling of relative paths in attribute
      and ignore files was not right.  Fixed this by pre-joining
      the relative path of the attribute/ignore file onto the match
      string when a full path match is required.
      
      Unfortunately, fixing this required a bit more code than I
      would have liked because I had to juggle things around so that
      the fnmatch parser would have sufficient information to prepend
      the relative path when it was needed.
      Russell Belfer committed
  2. 16 Jan, 2012 3 commits
  3. 15 Jan, 2012 1 commit
    • Fix #534: 64-bit issues in Windows · 1af56d7d
      off_t is always 32 bits in Windows, which is beyond stupid, but we just
      don't care anymore because we're using `git_off_t` which is assured to
      be 64 bits on all platforms, regardless of compilation mode. Just
      ensure that no casts to `off_t` are performed.
      
      Also, the check for `off_t` overflows has been dropped, once again,
      because the size of our offsets is always 64 bits on all platforms.
      
      Fixes #534
      Vicent Martí committed
  4. 13 Jan, 2012 2 commits
    • config: handle EOF properly · c1c399cf
      In the main loop we peek to see what kind of line the next one is. If
      there are multiple newlines before the end of the file, the eof marker
      won't be set after we read the last line with data and we'll try to
      peek again. This peek will return LF (as it pretends that we have a
      newline at EOF so other function don't need any special handling).
      
      Fix cfg_getchar so it doesn't try to read past the last character in
      the file and config_parse so it considers LF as EOF on peek (as we're
      ignoring spaces) and sets the reader's EOF flag to exit the parsing
      loop.
      Carlos Martín Nieto committed
  5. 12 Jan, 2012 4 commits
  6. 11 Jan, 2012 2 commits
  7. 09 Jan, 2012 1 commit
  8. 06 Jan, 2012 2 commits
  9. 05 Jan, 2012 4 commits
  10. 04 Jan, 2012 4 commits
  11. 03 Jan, 2012 2 commits
  12. 02 Jan, 2012 3 commits
  13. 31 Dec, 2011 1 commit
  14. 30 Dec, 2011 8 commits
  15. 29 Dec, 2011 1 commit