- 15 Apr, 2013 7 commits
-
-
Don't try to update anything if there are no heads to update. This saves us from trying to look into a fetch refspec when there is none. A better fix for compatibility with git when using remotes without refspecs is still needed, but this stops us from segfaulting.
Carlos Martín Nieto committed -
Keep the data around until free, as expected by our own fetch example
Carlos Martín Nieto committed -
OpenBSD & sparc64 fixes
Vicent Martí committed -
Mixing int and size_t through pointers leads to problems in big-endian machines.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
commit: correctly detect the start of the commit message
Vicent Martí committed -
The end of the header is signaled by to consecutive LFs and the commit message starts immediately after. Jumping over LFs at the start of the message is a bug and leads to creating different commits if when rebuilding history. This also fixes an empty commit message being returned as "\n".
Carlos Martín Nieto committed
-
- 12 Apr, 2013 2 commits
-
-
dec refcount on refdb instead of always freeing
Russell Belfer committed -
Edward Thomson committed
-
- 11 Apr, 2013 4 commits
-
-
Branch upstream configuration
Vicent Martí committed -
Add functions to set and unset the upstream configuration to complement the getter we already have.
Carlos Martín Nieto committed -
Correctly return matched pathspec when passing "*" or "."
Vicent Martí committed -
I also moved all tests related to notifying in their own file.
yorah committed
-
- 10 Apr, 2013 3 commits
-
-
Vicent Marti committed
-
Reduce the number of unnecessary objects in pushed packs
Vicent Martí committed -
Vicent Marti committed
-
- 09 Apr, 2013 5 commits
-
-
Submodule diff tests and fixes
Vicent Martí committed -
This adds tests for diffs with submodules in them and (perhaps unsurprisingly) requires further fixes to be made. Specifically, this fixes: - when considering if a submodule is dirty in the workdir, it was being treated as dirty even if only the index was dirty. - git_diff_patch_to_str (and git_diff_patch_print) were "printing" the headers for files (and submodules) that were unmodified or had no meaningful content. - added comment to previous fix and removed unneeded parens.
Russell Belfer committed -
Russell Belfer committed
-
Fix submodule dirty states not showing if submodules comes before files, or there are only dirty submodules but no changed files GIT_DIFF_PATCH_DIFFABLE was not set, so the diff content was not shown When submodule is dirty, the hash may be the same, but the length is different because -dirty is appended We can therefore compare the length or hash
Linquize committed -
Updated link to Haskell bindings
Vicent Martí committed
-
- 08 Apr, 2013 1 commit
-
-
The old one hasn't been updated in a long time. This one is current.
Maxwell Swadling committed
-
- 07 Apr, 2013 6 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
This test file could probably be improved by a framework like the one in git.git:t/, or by using a language like Python instead of shell. The other examples would benefit from tests too. Probably best to settle on a framework to write them in, then add more tests. Signed-off-by: Greg Price <price@mit.edu>
Greg Price committed -
This demonstrates parts of the interface for specifying revisions that Git users are familiar with from 'git rev-list', 'git log', and other Git commands. A similar query interface is used in out-of-core command-line programs that browse a Git repo (like 'tig'), and may be useful for an 'advanced search' interface in GUI or web applications. In this version, we parse all the query modifiers we can support with the existing logic in revwalk: basic include/exclude commits, and the ordering flags. More logic will be required to support '--grep', '--author', the pickaxe '-S', etc. Signed-off-by: Greg Price <price@mit.edu>
Greg Price committed -
All the hard work is already in revparse. Signed-off-by: Greg Price <price@mit.edu>
Greg Price committed -
Signed-off-by: Greg Price <price@mit.edu>
Greg Price committed
-
- 04 Apr, 2013 2 commits
-
-
Fix the general.c example to run against testrepo.git
Vicent Martí committed -
Fixes #1455
Ben Straub committed
-
- 03 Apr, 2013 1 commit
-
-
Properly GIT_EXPORT git_reference__alloc
Vicent Martí committed
-
- 02 Apr, 2013 1 commit
-
-
Edward Thomson committed
-
- 01 Apr, 2013 5 commits
-
-
branch: Fix git_branch_create() documentation
Ben Straub committed -
nulltoken committed
-
Avoid pre-Win7 WinHTTP self-redirect quirk
Vicent Martí committed -
Philip Kelley committed
-
Philip Kelley committed
-
- 31 Mar, 2013 3 commits
-
-
Signed-off-by: Greg Price <price@mit.edu>
Greg Price committed -
The purported command output was already inaccurate, as the refs aren't where it shows. In any event, the labels a reader of this file really needs are the indices used in commit_sorting_*, to make it possible to understand them by referring directly from those arrays to the diagram rather than from the index arrays, to commit_ids, to the diagram. Add those. Signed-off-by: Greg Price <price@mit.edu>
Greg Price committed -
Signed-off-by: Greg Price <price@mit.edu>
Greg Price committed
-