]> git.proxmox.com Git - libgit2.git/commit
remote: run a callback when updating the branch tips
authorCarlos Martín Nieto <carlos@cmartin.tk>
Wed, 25 Apr 2012 10:13:20 +0000 (12:13 +0200)
committerCarlos Martín Nieto <carlos@cmartin.tk>
Wed, 25 Apr 2012 11:25:45 +0000 (13:25 +0200)
commitf184836bd281efe8a656e3a9c6c2f9c040b88119
tree084cf2dc7b85f7f4b43985590d9fff1fce7e469d
parent2e3a0055d136d13fba365bf2a26638f84bd32d02
remote: run a callback when updating the branch tips

This allows the caller to update an internal structure or update the
user output with the tips that were updated.

While in the area, only try to update the ref if the value is
different from its old one.
examples/network/Makefile
examples/network/fetch.c
include/git2/remote.h
src/remote.c