- 06 Nov, 2017 1 commit
-
-
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.
Patrick Steinhardt committed
-
- 20 Oct, 2017 1 commit
-
-
Back in the days when libgit2 was still young, libgit2 was using plain Makefiles as build infrastructure. We later changed that to instead use the CMake build system to make cross-platform development easier. In the process, we forgot to remove the Makefile from our examples directory, which is fixed by this commit here. Furthermore, remove the accompanying .gitignore file, which ignores build outputs. As we do out-of-tree builds only nowadays, no output is generated in that directory anymore.
Patrick Steinhardt committed
-
- 13 Oct, 2017 1 commit
-
-
Cleaned up the PR to address styling issues.
Carson Howard committed
-
- 12 Oct, 2017 1 commit
-
-
Carson Howard committed
-
- 07 Oct, 2017 1 commit
-
-
Douglas Swanson committed
-
- 16 Aug, 2017 1 commit
-
-
Later on, we will move detection of required libraries, library directories as well as include directories into a separate CMakeLists.txt file inside of the source directory. Obviously, we want to avoid duplication here regarding these parameters. To prepare for the split, put the parameters into three variables LIBGIT2_LIBS, LIBGIT2_LIBDIRS and LIBGIT2_INCLUDES, tracking the required libraries, linking directory as well as include directories. These variables can later be exported into the parent scope from inside of the source build instructions, making them readily available for the other subdirectories.
Patrick Steinhardt committed
-
- 15 May, 2017 1 commit
-
-
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
-
- 12 Jan, 2017 4 commits
-
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
- 09 Jan, 2017 1 commit
-
-
Format of a length of string to the correct format is:%.*s
Force.Charlie-I committed
-
- 29 Dec, 2016 1 commit
-
-
Douglas Swanson committed
-
- 10 Oct, 2016 14 commits
-
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
- 19 Apr, 2016 1 commit
-
-
Carlos Martín Nieto committed
-
- 08 Mar, 2016 1 commit
-
-
Patrick McKenna committed
-
- 07 Oct, 2015 1 commit
-
-
Eun committed
-
- 08 Sep, 2015 1 commit
-
-
Matt Burke committed
-
- 12 Jul, 2015 2 commits
-
-
The header src/cc-compat.h defines portable format specifiers PRIuZ, PRIdZ, and PRIxZ. The original report highlighted the need to use these specifiers in examples/network/fetch.c. For this commit, I checked all C source and header files not in deps/ and transitioned to the appropriate format specifier where appropriate.
Matthew Plough committed -
Under normal conditions, git_remote_fetch() should be the only function used to perform a fetch. Don't let the example lead people astray.
Carlos Martín Nieto committed
-
- 29 Jun, 2015 1 commit
-
-
Edward Thomson committed
-
- 25 Jun, 2015 1 commit
-
-
Fallback describes the mechanism, while unspecified explains what the user is thinking.
Carlos Martín Nieto committed
-
- 22 Jun, 2015 1 commit
-
-
Carlos Martín Nieto committed
-
- 03 Jun, 2015 1 commit
-
-
Use the previously created function to display a message when the arguments are not valid. ticket 3095
Ariel O. Barria committed
-
- 28 May, 2015 1 commit
-
-
An anonymous remote is not configured and cannot therefore have configured refspecs. Remove the parameter which adds this from the constructor.
Carlos Martín Nieto committed
-
- 13 May, 2015 2 commits
-
-
This lets us see what the server (or libgit2 locally) is doing, rather than having to stare at a non-moving screen.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-