- 15 Apr, 2013 3 commits
-
-
This will probably prevent many lookup/free operations in calling code.
Ben Straub committed -
Ben Straub committed
-
Ben Straub committed
-
- 09 Apr, 2013 2 commits
-
-
Ben Straub committed
-
Ben Straub committed
-
- 08 Apr, 2013 2 commits
-
-
Ben Straub committed
-
Ben Straub 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 8 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 -
Support tags with no tagger nor message
Vicent Martí committed -
Philip Kelley committed
-
nulltoken committed
-
nulltoken committed
-
Philip Kelley committed
-
- 30 Mar, 2013 1 commit
-
-
Carlos Martín Nieto committed
-
- 29 Mar, 2013 4 commits
-
-
Clean up some memleaks in tests
Edward Thomson committed -
Edward Thomson committed
-
remove unmerged files during reset hard
Vicent Martí committed -
Edward Thomson committed
-
- 26 Mar, 2013 5 commits
-
-
Russell Belfer committed
-
opts: allow configuration of odb cache size
Vicent Martí committed -
Several diff and status fixes
Vicent Martí committed -
This started out trying to look at the problems from issue #1425 and gradually grew to a broader set of fixes. There are two core things fixed here: 1. When you had an ignore like "/bin" which is rooted at the top of your tree, instead of immediately adding the "bin/" entry as an ignored item in the diff, we were returning all of the direct descendants of the directory as ignored items. This changes things to immediately ignore the directory. Note that this effects the behavior in test_status_ignore__subdirectories so that we no longer exactly match core gits ignore behavior, but the new behavior probably makes more sense (i.e. we now will include an ignored directory inside an untracked directory that we previously would have left off). 2. When a submodule only contained working directory changes, the diff code was always considering it unmodified which was just an outright bug. The HEAD SHA of the submodule matches the SHA in the parent repo index, and since the SHAs matches, the diff code was overwriting the actual status with UNMODIFIED. These fixes broke existing tests test_diff_workdir__submodules and test_status_ignore__subdirectories but looking it over, I actually think the new results are correct and the old results were wrong. @nulltoken had actually commented on the subdirectory ignore issue previously. I also included in the tests some debugging versions of the shared iteration callback routines that print status or diff information. These aren't used actively in the tests, but can be quickly swapped in to test code to give a better picture of what is being scanned in some of the complex test scenarios.
Russell Belfer committed -
This option has been sitting unimplemented for a while, so I finally went through and implemented it along with some tests. As part of this, I improved the implementation of GIT_DIFF_IGNORE_SUBMODULES so it be more diligent about avoiding extra work and about leaving off delta records for submodules to the greatest extent possible (though it may include them still if you are request TYPECHANGE records).
Russell Belfer committed
-