1. 01 Dec, 2018 1 commit
  2. 10 Jun, 2018 1 commit
  3. 21 Jan, 2018 1 commit
    • status::renames: write NFD instead of NFC filename · 9af7fbc3
      Update the status::renames test to create an NFD format filename in the
      core.precomposedunicode tests.
      
      Previously, we would create an NFC format filename.  This was to take
      advantage of HFS+ filesystems, which always use canonically decomposed
      formats, and would actually write the filename to disk as an NFD
      filename.  So previously, we could create an NFC filename, but read it
      normally as an NFD filename.
      
      But APFS formats do not force canonically decomposed formats for
      filenames, so creating an NFC filename does not get converted to NFD.
      Instead, the filename will be written in NFC format.  Our test,
      therefore, does not work - when we write an NFC filename, it will
      _remain_ NFC.
      
      Update the test to write NFD always.  This will ensure that the file
      will actually be canonically decomposed on all platforms:  HFS+, which
      forces NFD, and APFS, which does not.
      
      Thus, our test will continue to ensure that an NFD filename is
      canonically precomposed on all filesystems.
      Edward Thomson committed
  4. 04 May, 2015 1 commit
  5. 24 Apr, 2014 3 commits
  6. 30 Jan, 2014 1 commit
  7. 22 Jan, 2014 1 commit
  8. 14 Nov, 2013 1 commit
  9. 08 Oct, 2013 1 commit
    • Case sensitivity issues on Linux · d5e83627
      A couple of tests were actually dealing incorrectly with case
      sensitivity issues on Linux because they were relying on having
      core.ignorecase set to true.  Now that the fixture initialization
      sets the case sensitivity to be accurate for the platform, it
      exposed bugs in these tests.
      Russell Belfer committed
  10. 17 Sep, 2013 1 commit
  11. 28 Aug, 2013 1 commit
  12. 05 Aug, 2013 1 commit
  13. 17 Jun, 2013 2 commits
    • More tests and bug fixes for status with rename · a1683f28
      This changes the behavior of the status RENAMED flags so that they
      will be combined with the MODIFIED flags if appropriate.  If a file
      is modified in the index and also renamed, then the status code
      will have both the GIT_STATUS_INDEX_MODIFIED and INDEX_RENAMED bits
      set.  If it is renamed but the OID has not changed, then just the
      GIT_STATUS_INDEX_RENAMED bit will be set.  Similarly, the flags
      GIT_STATUS_WT_MODIFIED and GIT_STATUS_WT_RENAMED can both be set
      independently of one another.
      
      This fixes a serious bug where the check for unmodified files that
      was done at data load time could end up erasing the RENAMED state
      of a file that was renamed with no changes.
      
      Lastly, this contains a bunch of new tests for status with renames,
      including tests where the only rename changes are case changes.
      The expected results of these tests have to vary by whether the
      platform uses a case sensitive filesystem or not, so the expected
      data covers those platform differences separately.
      Russell Belfer committed