1. 26 Jul, 2013 1 commit
  2. 10 Jul, 2013 10 commits
  3. 20 Jun, 2013 4 commits
  4. 18 May, 2013 1 commit
  5. 16 May, 2013 2 commits
    • Add cat-file example and increase const use in API · 58206c9a
      This adds an example implementation that emulates git cat-file.
      It is a convenient and relatively simple example of getting data
      out of a repository.
      
      Implementing this also revealed that there are a number of APIs
      that are still not using const pointers to objects that really
      ought to be.  The main cause of this is that `git_vector_bsearch`
      may need to call `git_vector_sort` before doing the search, so a
      const pointer to the vector is not allowed.  However, for tree
      objects, with a little care, we can ensure that the vector of
      tree entries is always sorted and allow lookups to take a const
      pointer.  Also, the missing const in commit objects just looks
      like an oversight.
      Russell Belfer committed
  6. 15 May, 2013 1 commit
  7. 11 May, 2013 1 commit
  8. 23 Apr, 2013 1 commit
  9. 15 Apr, 2013 4 commits
  10. 10 Apr, 2013 1 commit
  11. 09 Apr, 2013 3 commits
  12. 07 Apr, 2013 2 commits
    • examples: a test, for rev-list · 2e233285
      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
    • examples: rev-list · 8f7f5e55
      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
  13. 04 Apr, 2013 1 commit
  14. 20 Mar, 2013 1 commit
  15. 02 Mar, 2013 1 commit
  16. 26 Feb, 2013 1 commit
  17. 15 Feb, 2013 1 commit
  18. 06 Feb, 2013 1 commit
  19. 05 Feb, 2013 1 commit
  20. 31 Jan, 2013 1 commit
  21. 23 Jan, 2013 1 commit