1. 06 Nov, 2019 1 commit
  2. 05 Jul, 2019 1 commit
  3. 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
  4. 17 Jan, 2019 2 commits
  5. 05 Feb, 2015 1 commit
  6. 08 May, 2014 1 commit
    • examples: add a basic for-each-ref example · 56ec2256
      This is quite close to running "git for-each-ref" except:
      
        1. It does not take any formatting or selection options at
           all.
      
        2. The output is not sorted.
      
      I wrote it to look at debugging some issues with ref
      iteration, but there's no reason it can't live on as an
      example command.
      Jeff King committed