]> git.proxmox.com Git - libgit2.git/commit
push: report the update plan to the caller
authorCarlos Martín Nieto <cmn@dwim.me>
Sat, 18 Apr 2015 22:55:00 +0000 (00:55 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Sat, 18 Apr 2015 23:02:29 +0000 (01:02 +0200)
commitefc2fec50e3bb725b2b244fdeacfb2dfad6ee78e
tree996e1ba559244e36596d98b7bb2fe4754ac94ee3
parent4c02d393748d0db382450871ad9ef6898a2ce360
push: report the update plan to the caller

It can be useful for the caller to know which update commands will be
sent to the server before the packfile is pushed up. git does this via
the pre-push hook.

We don't have hooks, but as it adds introspection into what is
happening, we can add a callback which performs the same function.
include/git2/push.h
include/git2/remote.h
include/git2/types.h
src/push.c
src/push.h
src/remote.c
tests/online/push_util.h