1. 24 Feb, 2018 1 commit
  2. 20 Feb, 2018 1 commit
  3. 04 Feb, 2018 2 commits
  4. 04 Dec, 2017 1 commit
  5. 25 Aug, 2017 1 commit
    • submodule: refuse lookup in bare repositories · 477b3e04
      While it is technically possible to look up submodules inside of a
      bare repository by reading the submodule configuration of a specific
      commit, we do not offer this functionality right now. As such, calling
      both `git_submodule_lookup` and `git_submodule_foreach` should error out
      early when these functions encounter a bare repository. While
      `git_submodule_lookup` already does return an error due to not being
      able to parse the configuration, `git_submodule_foreach` simply returns
      success and never invokes the callback function.
      
      Fix the issue by having both functions check whether the repository is
      bare and returning an error in that case.
      Patrick Steinhardt committed
  6. 25 Jul, 2017 1 commit
  7. 20 Jul, 2017 1 commit
  8. 06 Jun, 2017 1 commit
  9. 17 Mar, 2017 1 commit
    • submodule: resolve URLs relative to main worktree · b0c9bc92
      It is possible to specify submodule URLs relative to the repository
      location. E.g. having a submodule with URL "../submodule" will look for
      the submodule at "repo/../submodule".
      
      With the introduction of worktrees, though, we cannot simply resolve the
      URL relative to the repository location itself. If the repository for
      which a URL is to be resolved is a working tree, we have to resolve the
      URL relative to the parent's repository path. Otherwise, the URL would
      change depending on where the working tree is located.
      
      Fix this by special-casing when we have a working tree while getting the
      URL base.
      Patrick Steinhardt committed
  10. 03 Mar, 2017 2 commits
  11. 13 Feb, 2017 4 commits
  12. 09 Feb, 2017 1 commit
  13. 08 Feb, 2017 1 commit
  14. 09 Oct, 2016 1 commit
  15. 06 Oct, 2016 1 commit
  16. 02 Jun, 2016 1 commit
  17. 31 Mar, 2016 1 commit
  18. 28 Feb, 2016 1 commit
  19. 17 Feb, 2016 1 commit
    • win32: tests around handling forbidden paths · 4be2aa57
      Introduce a repository that contains some paths that were illegal
      on PC-DOS circa 1981 (like `aux`, `con`, `com1`) and that in a
      bizarre fit of retrocomputing, remain illegal on some "modern"
      computers, despite being "new technology".
      
      Introduce some aspirational tests that suggest that we should be
      able to cope with trees and indexes that contain paths that
      would be illegal on the filesystem, so that we can at least diff
      them.  Further ensure that checkout will not write a repository
      with forbidden paths.
      Edward Thomson committed
  20. 01 Dec, 2015 2 commits
  21. 25 Nov, 2015 7 commits
  22. 04 Nov, 2015 1 commit
  23. 02 Nov, 2015 1 commit
  24. 22 Oct, 2015 1 commit
    • index: test that we round-trip nsecs · 99a09f7f
      Test that nanoseconds are round-tripped correctly when we read
      an index file that contains them.  We should, however, ignore them
      because we don't understand them, and any new entries in the index
      should contain a `0` nsecs field, while existing preserving entries.
      Edward Thomson committed
  25. 18 Sep, 2015 1 commit
  26. 22 Jun, 2015 3 commits