1. 21 Apr, 2014 2 commits
    • Make `--patch` compatible with git diff patches · c76cde67
      Filenames in git diff patches are prefixed by default by "a/" (source)
      and "b/" destination. Such patches don't work with ruby-builds `--patch`
      option since it internally uses `patch -p0`.
      
      Prior workarounds were to use either an intermediate step:
      
          filterdiff --strip=1
      
      or to generate the patch without the prefix in the first place:
      
          git diff --no-prefix ...
      
      Now, git diff patches are detected by searching for this pattern:
      
          diff --git a/...
      
      And `patch -p1` is used by default in such cases to strip the 1st
      component of filename paths.
      
      Fixes #521, closes #484
      Mislav Marohnić committed
    • Use `patch --force` to ignore missing files when patching · 74b21936
      From patch(1):
      
          -f  or  --force
             Assume that the user knows exactly what he or she is doing, and do  not
             ask any questions.  Skip patches whose headers do not say which file is
             to be patched; patch files even though they have the wrong version  for
             the Prereq: line in the patch; and assume that patches are not reversed
             even if they look like they are.  This option does not suppress commen-
             tary; use -s for that.
      
      Fixes #555
      Mislav Marohnić committed
  2. 20 Apr, 2014 1 commit
  3. 19 Apr, 2014 1 commit
  4. 18 Apr, 2014 1 commit
  5. 15 Apr, 2014 2 commits
  6. 08 Apr, 2014 2 commits
  7. 07 Apr, 2014 3 commits
  8. 06 Apr, 2014 1 commit
  9. 05 Apr, 2014 10 commits
  10. 04 Apr, 2014 2 commits
  11. 28 Mar, 2014 1 commit
  12. 26 Mar, 2014 1 commit
  13. 25 Mar, 2014 3 commits
  14. 18 Mar, 2014 1 commit
  15. 17 Mar, 2014 1 commit
  16. 12 Mar, 2014 1 commit
  17. 11 Mar, 2014 1 commit
  18. 26 Feb, 2014 6 commits