libgit2/libgit2 — pull request #957 by carlosmn (2012-09-27 10:26:03+00:00)
Title: Include tag

Behave more like git by trying to create as many tags as we can after a fetch.

The first commit overlaps with #954. Maybe `_clear` is a better name, though `git_buf_clear` doesn't free the memory; and this function doesn't actually free the object you're giving it, so... naming is hard.

I still need to add support for the `--tags` version (i.e., do force all tags).

Do you think that git_remote_save() should try to store the `remote..tagopt` setting to the one that's set?