Initial commit

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
version-magic: Add the define to the right parameter

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
version-magic: Make sh script work in tag-less repos

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Move away from boost's program_options library

Reducing dependencies is probably a good idea with small utilities such
as this. Also, ‘program_options’ was a little weird to use. So use a BSD
‘getopt()’ now - like the C version of taggit did.

As a result, the main program looks a lot like a classic C program. But
that is to be expected with a C implementation of ‘getopt()’.

This could be re-implemented with C++ idioms at some point. But not
right now.

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Implement ‘list_tags()’

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Makefile: Remove useless C-only compiler flags

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Add preliminary ‘-t’ support

This is still missing ‘add_tag()’, but it's a decent start.

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Add ‘add_tag()’ - finally

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Use more concise iterator syntax

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Fix "unknown option" message from bsdgetopt.c

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Fix source name in makefile

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Fix depend makefile target

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Clean up Makefile a bit more

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Make -V show version information

-v might be needed for verbosity later on.

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Move Value definition to its own module

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Add setup.cpp

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Remove prototype for inexistent list_newtags() function

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Add comment that describes the job of setup.cpp

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Move boolean option implementation to setup.cpp

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Add read and write map

They are not used at all yet, but the concept it there now and the
rest should not be too hard.

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>