1. 28 Jun, 2016 1 commit
  2. 20 Mar, 2016 1 commit
  3. 11 Mar, 2016 1 commit
    • submodule: avoid passing NULL pointers to strncmp · 486302d6
      In C89 it is undefined behavior to pass `NULL` pointers to
      `strncmp` and later on in C99 it has been explicitly stated that
      functions with an argument declared as `size_t nmemb` specifying
      the array length shall always have valid parameters, no matter if
      `nmemb` is 0 or not (see ISO 9899 §7.21.1.2).
      
      The function `str_equal_no_trailing_slash` always passes its
      parameters to `strncmp` if their lengths match. This means if one
      parameter is `NULL` and the other one either `NULL` or a string
      with length 0 we will pass the pointers to `strncmp` and cause
      undefined behavior.
      
      Fix this by explicitly handling the case when both lengths are 0.
      Patrick Steinhardt committed
  4. 16 Feb, 2016 1 commit
  5. 11 Feb, 2016 1 commit
  6. 08 Dec, 2015 1 commit
  7. 04 Nov, 2015 1 commit
  8. 27 Sep, 2015 1 commit
  9. 24 Sep, 2015 1 commit
  10. 10 Sep, 2015 1 commit
  11. 28 Aug, 2015 1 commit
  12. 13 Jul, 2015 2 commits
  13. 11 Jul, 2015 1 commit
  14. 01 Jul, 2015 1 commit
    • submodule: correctly delimit the keys to use for lookup · e0af3cb3
      The regex we use to look at the gitmodules file does not correctly
      delimit the name of submodule which we want to look up and puts '.*'
      straight after the name, maching on any submodule which has the seeked
      submodule as a prefix of its name.
      
      Add the missing '\.' in the regex so we want a full stop to exist both
      before and after the submodule name.
      Carlos Martín Nieto committed
  15. 29 Jun, 2015 3 commits
  16. 25 Jun, 2015 1 commit
  17. 22 Jun, 2015 12 commits
  18. 20 Jun, 2015 1 commit
  19. 13 May, 2015 1 commit
    • Remove the callbacks struct from the remote · 8f0104ec
      Having the setting be different from calling its actions was not a great
      idea and made for the sake of the wrong convenience.
      
      Instead of that, accept either fetch options, push options or the
      callbacks when dealing with the remote. The fetch options are currently
      only the callbacks, but more options will be moved from setters and
      getters on the remote to the options.
      
      This does mean passing the same struct along the different functions but
      the typical use-case will only call git_remote_fetch() or
      git_remote_push() and so won't notice much difference.
      Carlos Martín Nieto committed
  20. 12 Apr, 2015 1 commit
  21. 12 Mar, 2015 1 commit
  22. 03 Mar, 2015 2 commits
  23. 15 Feb, 2015 1 commit
  24. 07 Jan, 2015 1 commit
  25. 06 Jan, 2015 1 commit