diff options
| author | Jeff King <peff@peff.net> | 2014-05-08 01:06:38 -0400 |
|---|---|---|
| committer | Jeff King <peff@peff.net> | 2014-05-08 15:49:38 -0400 |
| commit | 56ec2256f24eb43b09351194d02cd8458ff39708 (patch) | |
| tree | 2efe44fd64355ec5d01fc537c51306029c6934c2 /examples/Makefile | |
| parent | 6bcb0987558390bb8bf0a654f90f47a5ec7c31ee (diff) | |
| download | libgit2-56ec2256f24eb43b09351194d02cd8458ff39708.tar.gz | |
examples: add a basic for-each-ref examplepeff/iconv
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.
Diffstat (limited to 'examples/Makefile')
| -rw-r--r-- | examples/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile index e866b7fee..11b019984 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -4,6 +4,7 @@ CC = gcc CFLAGS = -g -I../include -I../src -Wall -Wextra -Wmissing-prototypes -Wno-missing-field-initializers LFLAGS = -L../build -lgit2 -lz APPS = general showindex diff rev-list cat-file status log rev-parse init blame tag +APPS += for-each-ref all: $(APPS) |
