- 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
-
- 02 May, 2015 1 commit
-
-
Code restructured to better represent best practice when using libgit2.
Tomas Paladin Volf committed
-
- 30 Apr, 2015 1 commit
-
-
Added forgotten call to git_libgit2_shutdown() to the /examples/network/git2.c.
Tomas Paladin Volf committed
-
- 07 Apr, 2015 1 commit
-
-
Patrick Steinhardt committed
-
- 19 Mar, 2015 1 commit
-
-
Patrick Steinhardt committed
-
- 03 Mar, 2015 1 commit
-
-
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
-
- 27 Feb, 2015 1 commit
-
-
Edward Thomson committed
-
- 06 Feb, 2015 1 commit
-
-
Add safe function to (a,rea)llocate memory which terminate example on memory allocation failure. Move code to allocate commits to its own function.
Boris Egorov committed
-
- 05 Feb, 2015 1 commit
-
-
I don't get how it was working without git_libgit2_init() call. I run it and libgit2 throws assertion somewhere in its internals. Now it works. Updated commit with shutdown at the end.
Boris Egorov committed
-
- 25 Jan, 2015 1 commit
-
-
We need to allocate memory for sizeof(char *) * ncommits, not just for ncommits. Issue detected by GCC's AddressSanitizer.
Boris Egorov committed
-
- 10 Jan, 2015 1 commit
-
-
Local transports don't have data about the size, avoid dividing by zero in the callback.
Edward Thomson committed
-
- 05 Dec, 2014 1 commit
-
-
Will Stamper committed
-
- 21 Nov, 2014 1 commit
-
-
Vicent Marti committed
-
- 08 Nov, 2014 2 commits
-
-
This describes their purpose better, as we now initialize ssl and some other global stuff in there. Calling the init function is not something which has been optional for a while now.
Carlos Martín Nieto committed -
This brings it in line with the rest of the lookup functions.
Carlos Martín Nieto committed
-
- 12 Oct, 2014 1 commit
-
-
Linquize committed
-
- 30 Sep, 2014 1 commit
-
-
With opportunistic ref updates, git has introduced the concept of having base refspecs *and* refspecs that are active for a particular fetch. Let's start by letting the user override the refspecs for download.
Carlos Martín Nieto committed
-
- 16 Sep, 2014 2 commits
-
-
Ciro Santilli committed
-
Linquize committed
-
- 01 Sep, 2014 1 commit
-
-
Linquize committed
-
- 28 May, 2014 1 commit
-
-
Eoin Coffey committed
-
- 23 May, 2014 2 commits
-
-
Eoin Coffey committed
-
Eoin Coffey committed
-
- 22 May, 2014 2 commits
-
-
Eoin Coffey committed
-
Edward Thomson committed
-
- 08 May, 2014 1 commit
-
-
This is quite close to running "git for-each-ref" except: 1. It does not take any formatting or selection options at all. 2. The output is not sorted. I wrote it to look at debugging some issues with ref iteration, but there's no reason it can't live on as an example command.
Jeff King committed
-
- 01 May, 2014 1 commit
-
-
Linquize committed
-
- 22 Apr, 2014 2 commits
-
-
This takes the `--stat` and related example options in the example diff.c program and converts them to use the `git_diff_get_stats` API which nicely formats stats for you. I went to add bar-graph scaling to the stats formatter and noticed that the `git_diff_stats` structure was holding on to all of the `git_patch` objects. Unfortunately, each of these objects keeps the full text of the diff in memory, so this is very expensive. I ended up modifying `git_diff_stats` to keep just the data that it needs to keep and allowed it to release the patches. Then, I added width scaling to the output on top of that. In making the diff example program match 'git diff' output, I ended up removing an newline from the sumamry output which I then had to compensate for in the email formatting to match the expectations. Lastly, I went through and refactored the tests to use a couple of helper functions and reduce the overall amount of code there.
Russell Belfer committed -
I was playing with "git diff-index" and wanted to be able to emulate that behavior a little more closely with the diff example. Also, I wanted to play with running `git_diff_tree_to_workdir` directly even though core Git doesn't exactly have the equivalent, so I added a command line option for that and tweaked some other things in the example code. This changes a minor output thing in that the "raw" print helper function will no longer add ellipses (...) if the OID is not actually abbreviated.
Russell Belfer committed
-
- 21 Apr, 2014 1 commit
-
-
Jacques Germishuys committed
-