1. 19 Oct, 2018 1 commit
    • examples: network: fix Win32 linking errors due to getline · 736356a6
      The getline(3) function call is not part of ISO C and, most importantly,
      it is not implemented on Microsoft Windows platforms. As our networking
      example code makes use of getline, this breaks builds on MSVC and MinGW.
      As this code wasn't built prior to the previous commit, this was never
      noticed.
      
      Fix the error by instead implementing a `readline` function, which
      simply reads the password from stdin until it reads a newline
      character.
      
      (cherry picked from commit bf15dbf6)
      Patrick Steinhardt committed
  2. 15 May, 2017 1 commit
    • examples: network: refactor credentials callback · f0ca00e0
      The credentials callback reads the username and password via scanf into
      fixed-length arrays. While these are simply examples and as such not as
      interesting, the unchecked return value of scanf causes GCC to emit
      warnings. So while we're busy to shut up GCC, we also fix the possible
      overflow of scanf by using getline instead.
      Patrick Steinhardt committed
  3. 12 Jan, 2017 4 commits
  4. 09 Jan, 2017 1 commit
  5. 29 Dec, 2016 1 commit
  6. 10 Oct, 2016 14 commits
  7. 19 Apr, 2016 1 commit
  8. 08 Mar, 2016 1 commit
  9. 07 Oct, 2015 1 commit
  10. 08 Sep, 2015 1 commit
  11. 12 Jul, 2015 2 commits
  12. 29 Jun, 2015 1 commit
  13. 25 Jun, 2015 1 commit
  14. 22 Jun, 2015 1 commit
  15. 03 Jun, 2015 1 commit
  16. 28 May, 2015 1 commit
  17. 13 May, 2015 2 commits
  18. 02 May, 2015 1 commit
  19. 30 Apr, 2015 1 commit
  20. 07 Apr, 2015 1 commit
  21. 19 Mar, 2015 1 commit
  22. 03 Mar, 2015 1 commit
    • Remove the signature from ref-modifying functions · 659cf202
      The signature for the reflog is not something which changes
      dynamically. Almost all uses will be NULL, since we want for the
      repository's default identity to be used, making it noise.
      
      In order to allow for changing the identity, we instead provide
      git_repository_set_ident() and git_repository_ident() which allow a user
      to override the choice of signature.
      Carlos Martín Nieto committed