- 21 Jul, 2012 1 commit
-
-
Currently only update_tips is used, but it prepares the way for progress output during download.
Carlos Martín Nieto committed
-
- 11 Jul, 2012 1 commit
-
-
Russell Belfer committed
-
- 10 Jul, 2012 1 commit
-
-
Michael Schubert committed
-
- 28 Jun, 2012 1 commit
-
-
Not everyone who indexes a packfile wants to put it in the standard git repository location.
Carlos Martín Nieto committed
-
- 14 Jun, 2012 2 commits
-
-
Chris Young committed
-
- 09 Jun, 2012 3 commits
-
-
Chris Young committed
-
Chris Young committed
-
Chris Young committed
-
- 08 Jun, 2012 1 commit
-
-
There are three actual changes in this commit: 1. When the trailing newline of a file is removed in a diff, the change will now be reported with `GIT_DIFF_LINE_DEL_EOFNL` passed to the callback. Previously, the `ADD_EOFNL` constant was given which was just an error in my understanding of when the various circumstances arose. `GIT_DIFF_LINE_ADD_EOFNL` is deprecated and should never be generated. A new newline is simply an `ADD`. 2. Rewrote the `diff_delta__merge_like_cgit` function that contains the core logic of the `git_diff_merge` implementation. The new version doesn't actually have significantly different behavior, but the logic should be much more obvious, I think. 3. Fixed a bug in `git_diff_merge` where it freed a string pool while some of the string data was still in use. This led to `git_diff_print_patch` accessing memory that had been freed. The rest of this commit contains improved documentation in `diff.h` to make the behavior and the equivalencies with core git clearer, and a bunch of new tests to cover the various cases, oh and a minor simplification of `examples/diff.c`.
Russell Belfer committed
-
- 24 May, 2012 1 commit
-
-
Carlos Martín Nieto committed
-
- 20 May, 2012 1 commit
-
-
git_reference_listall() -> git reference_list()
Scott J. Goldman committed
-
- 17 May, 2012 3 commits
-
-
Vicent Martí committed
-
Vicent Martí committed
-
This fixes the examples so they will build and adds a PROFILE option to the CMakeFile that enabled gprof info on non-Windows
Russell Belfer committed
-
- 11 May, 2012 1 commit
-
-
Carlos Martín Nieto committed
-
- 10 May, 2012 1 commit
-
-
Use giterr_last() and make sure it's not NULL.
Carlos Martín Nieto committed
-
- 08 May, 2012 1 commit
-
-
Add a fetch refspec arguemnt and make the arguments (name, url, refspec), as that order makes more sense.
Carlos Martín Nieto committed
-
- 01 May, 2012 1 commit
-
-
Currently, git_remote_disconnect not only closes the connection but also frees the underlying transport object, making it impossible to write code like // fetch stuff git_remote_download() // close connection git_remote_disconnect() // call user provided callback for each ref git_remote_update_tips(remote, callback) because remote->refs points to references owned by the transport object. This means, we have an idling connection while running the callback for each reference. Instead, allow immediate disconnect and free the transport later in git_remote_free().
Michael Schubert committed
-
- 25 Apr, 2012 3 commits
-
-
This allows the caller to update an internal structure or update the user output with the tips that were updated. While in the area, only try to update the ref if the value is different from its old one.
Carlos Martín Nieto committed -
This allows us to give updates on how it's doing
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
- 13 Apr, 2012 1 commit
-
-
Carlos Martín Nieto committed
-
- 11 Apr, 2012 1 commit
-
-
Carlos Martín Nieto committed
-
- 13 Mar, 2012 1 commit
-
-
Signed-off-by: schu <schu-github@schulog.org>
schu committed
-
- 02 Mar, 2012 3 commits
-
-
This is a major reorganization of the diff code. This changes the diff functions to use the iterators for traversing the content. This allowed a lot of code to be simplified. Also, this moved the functions relating to outputting a diff into a new file (diff_output.c). This includes a number of other changes - adding utility functions, extending iterators, etc. plus more tests for the diff code. This also takes the example diff.c program much further in terms of emulating git-diff command line options.
Russell Belfer committed -
* Implemented git_diff_index_to_tree * Reworked git_diff_options structure to handle more options * Made most of the options in git_diff_options actually work * Reorganized code a bit to remove some redundancy * Added option parsing to examples/diff.c to test most options
Russell Belfer committed -
This fixes several bugs, updates tests and docs, eliminates the FILE* assumption in favor of printing callbacks for the diff patch formatter helpers, and adds a "diff" example function that can perform a diff from the command line.
Russell Belfer committed
-
- 13 Jan, 2012 1 commit
-
-
Carlos Martín Nieto committed
-
- 28 Nov, 2011 1 commit
-
-
- Hide the remaining transports code - Drop `git_headarray`, switch to using a callback to list refs. Makes the code cleaner.
Vicent Marti committed
-
- 26 Nov, 2011 1 commit
-
-
There's no difference between `_free` and `_close` semantics: keep everything with the same name to avoid confusions.
Vicent Marti committed
-
- 07 Nov, 2011 4 commits
-
-
Brandon Casey committed
-
This function should exit after printing usage information if too few arguments were specified. Additionally, it should exit with a failure status if the first argument supplied is not one in the internal command list.
Brandon Casey committed -
Brandon Casey committed
-
Since git__free is not exported (it's actually a macro), it should not be used in client programs. Change this call to 'git__free' back to 'free'.
Brandon Casey committed
-
- 05 Nov, 2011 1 commit
-
-
git_config_get_int --> git_config_get_int32
Brandon Casey committed
-
- 29 Oct, 2011 1 commit
-
-
Ensure that all memory related functions (malloc, calloc, strdup, free, etc) are using their respective `git__` wrappers.
Vicent Marti committed
-
- 03 Oct, 2011 1 commit
-
-
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed
-
- 16 Sep, 2011 1 commit
-
-
Reverted signature of git_signature_new. Removed error check wrappers (voted down). Made Makefile work out of the box on Linux and Solaris when standard cmake build instructions for the library are followed.
David Boyce committed
-
- 13 Sep, 2011 1 commit
-
-
change to the signature of an API function (git_signature_new). Also, the examples/general.c had a lot of unchecked return values which were addresed with a couple of macros. The resulting example still does not work correctly but at least now it fails with an error message rather than not compiling or dumping core. Example runtime issues may be addressed in a later commit.
David Boyce committed
-