|
ead10785
|
2019-01-24T11:31:49
|
|
examples: create common lg2 executable
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.
|
|
8aa437ef
|
2018-05-02T07:55:26
|
|
tests: ls-files: use puts instead of printf and fix typos
|
|
d7394c36
|
2018-03-27T07:21:02
|
|
examples: ls-files: print entry path only when entry is found
|
|
29ca3f33
|
2018-01-06T11:26:41
|
|
examples: ls-files: update print_paths to print all cases
|
|
7d079413
|
2017-12-19T15:29:40
|
|
test: ls-files: remove dependency on git_array
|
|
ee144650
|
2017-11-13T21:03:21
|
|
examples: ls-files: fix build error
|
|
e8661169
|
2017-11-13T20:52:31
|
|
examples: ls-files: address PR and style
|
|
3f64a9db
|
2017-10-25T19:19:17
|
|
examples: ls-files: use git_array_t to handle files
|
|
37cbc3ea
|
2017-10-23T09:54:39
|
|
examples: ls-files: build file list with array
|
|
d2f99e0a
|
2017-10-22T21:23:40
|
|
examples: ls-files: fix compile error
|
|
cd39273d
|
2017-10-22T20:43:22
|
|
examples: ls-files: fix style and refactor
|
|
52d83dde
|
2017-10-17T21:10:54
|
|
examples: ls-files: handle --error-unmatch
|
|
991fc088
|
2017-10-16T21:33:46
|
|
examples: ls-files: show current files in index
|
|
30e919c4
|
2017-10-16T16:46:19
|
|
examples: ls-files: list files
|