1. 18 Jul, 2023 1 commit
    • repository: make cleanup safe for re-use with grafts · 9d4c5505
      We are allowed to call `git_repository__cleanup` multiple times, and this
      happens e.g. in rugged if we want to free up resources before GC gets around to
      them.
      
      This means that we cannot leave dangling pointers in it, which we were doing
      with the grafts. Fix this by setting the pointers to NULL after freeing the resources.
      Carlos Martín Nieto committed
  2. 13 May, 2023 1 commit
  3. 09 May, 2023 1 commit
  4. 08 May, 2023 2 commits
  5. 06 May, 2023 1 commit
  6. 03 May, 2023 1 commit
  7. 25 Apr, 2023 1 commit
  8. 24 Apr, 2023 2 commits
  9. 10 Apr, 2023 2 commits
  10. 04 Apr, 2023 5 commits
  11. 25 Feb, 2023 1 commit
  12. 20 Feb, 2023 1 commit
    • repo: support safe.directory with %(prefix)/ · be3a78cc
      Git for Windows does some truly bizarre things with
      paths that start with a forward slash; and expects you
      to escape that with `%(prefix)`. This syntax generally
      means to add the prefix that Git was installed to -- eg
      `/usr/local` -- unless it's an absolute path, in which
      case the leading `%(prefix)/` is just removed. And Git
      for Windows expects you to use this syntax for absolute
      Unix-style paths (in "Git Bash" or Windows Subsystem for
      Linux).
      
      Worse, the behavior used to be that a leading `/` was
      not absolute. It would indicate that Git for Windows
      should add the prefix. So `//` is required for absolute
      Unix-style paths. Yes, this is truly horrifying.
      
      Emulate that behavior, I guess, but only for absolute
      paths. We won't deal with the Git install prefix. Also,
      give WSL users an escape hatch where they don't have to
      think about this and can use the literal path that the
      filesystem APIs provide (`//wsl.localhost/...`).
      Edward Thomson committed
  13. 18 Feb, 2023 1 commit
  14. 17 Feb, 2023 2 commits
  15. 12 Feb, 2023 6 commits
  16. 19 Nov, 2022 1 commit
  17. 01 Oct, 2022 1 commit
  18. 31 Aug, 2022 1 commit
  19. 11 Aug, 2022 1 commit
  20. 09 Aug, 2022 1 commit
  21. 02 Aug, 2022 2 commits
  22. 29 Jul, 2022 2 commits
  23. 28 Jul, 2022 2 commits
  24. 27 Jul, 2022 1 commit