1. 06 Nov, 2019 1 commit
  2. 15 Feb, 2019 1 commit
    • examples: create common lg2 executable · ead10785
      Inside of our networking example code, we have a git2 executable
      that acts as an entry point to all the different network
      examples. As such, it is kind of the same like the normal git(1)
      executable in that it simply arbitrates to the respective
      subcommands.
      
      Let's extend this approach and merge all examples into a single
      standalone lg2 executable. Instead of building an executable
      for all the existing examples we have, we now bundle them all
      inside of the lg2 one and let them be callable via subcommands.
      
      In the process, we can get rid of duplicated library
      initialization, deinitialization and repository discovery code.
      Instead of having each subcommand handle these on its own, we
      simply do it inside of the single main function now.
      Patrick Steinhardt committed
  3. 08 Nov, 2014 1 commit
  4. 16 Sep, 2014 1 commit
  5. 02 Nov, 2013 1 commit
  6. 30 Oct, 2013 1 commit
  7. 15 May, 2013 1 commit
  8. 15 Apr, 2013 3 commits
  9. 09 Apr, 2013 1 commit
  10. 07 Apr, 2013 1 commit
    • 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