1. 17 Sep, 2012 2 commits
  2. 16 Jul, 2012 1 commit
  3. 10 Jul, 2012 1 commit
  4. 17 May, 2012 1 commit
  5. 02 Mar, 2012 1 commit
  6. 01 Mar, 2012 2 commits
  7. 29 Feb, 2012 1 commit
  8. 28 Feb, 2012 1 commit
  9. 27 Feb, 2012 1 commit
    • filter: Apply filters before writing a file to the ODB · 44b1ff4c
      Initial implementation. The relevant code is in `blob.c`: the blob write
      function has been split into smaller functions.
      
      	- Directly write a file to the ODB in streaming mode
      
      	- Directly write a symlink to the ODB in direct mode
      
      	- Apply a filter, and write a file to the ODB in direct mode
      
      When trying to write a file, we first call `git_filter__load_for_file`,
      which populates a filters array with the required filters based on the
      filename.
      
      If no filters are resolved to the filename, we can write to the ODB in
      streaming mode straight from disk. Otherwise, we load the whole file in
      memory and use double-buffering to apply the filter chain. We finish
      by writing the file as a whole to the ODB.
      Vicent Martí committed