1. 14 Jul, 2022 1 commit
  2. 20 Jun, 2022 1 commit
  3. 23 Feb, 2022 1 commit
  4. 09 Aug, 2021 1 commit
  5. 18 Jul, 2019 1 commit
  6. 01 Dec, 2018 1 commit
  7. 28 Feb, 2016 1 commit
  8. 03 Nov, 2015 1 commit
  9. 30 Sep, 2015 1 commit
    • index: also try conflict mode when inserting · 21515f22
      When we do not trust the on-disk mode, we use the mode of an existing
      index entry.  This allows us to preserve executable bits on platforms
      that do not honor them on the filesystem.
      
      If there is no stage 0 index entry, also look at conflicts to attempt
      to answer this question:  prefer the data from the 'ours' side, then
      the 'theirs' side before falling back to the common ancestor.
      Edward Thomson committed
  10. 29 Sep, 2015 1 commit
  11. 08 Sep, 2015 2 commits
    • git_index_add: allow case changing renames · a32bc85e
      On case insensitive platforms, allow `git_index_add` to provide a new
      path for an existing index entry.  Previously, we would maintain the
      case in an index entry without the ability to change it (except by
      removing an entry and re-adding it.)
      
      Higher-level functions (like `git_index_add_bypath` and
      `git_index_add_frombuffers`) continue to keep the old path for easier
      usage.
      Edward Thomson committed
    • index: canonicalize directory case when adding · 280adb3f
      On case insensitive systems, when given a user-provided path in the
      higher-level index addition functions (eg `git_index_add_bypath` /
      `git_index_add_frombuffer`), examine the index to try to match the
      given path to an existing directory.
      
      Various mechanisms can cause the on-disk representation of a folder
      to not match the representation in HEAD or the index - for example,
      a case changing rename of some file `a/file.txt` to `A/file.txt`
      will update the paths in the index, but not rename the folder on
      disk.
      
      If a user subsequently adds `a/other.txt`, then this should be stored
      in the index as `A/other.txt`.
      Edward Thomson committed
  12. 03 Aug, 2015 1 commit
  13. 01 Aug, 2015 2 commits
  14. 12 Jul, 2015 2 commits