]> git.proxmox.com Git - libgit2.git/commit
examples: modernise the fetch example
authorCarlos Martín Nieto <cmn@dwim.me>
Sun, 12 Jul 2015 17:41:01 +0000 (19:41 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Sun, 12 Jul 2015 17:41:01 +0000 (19:41 +0200)
commit6c7e86e158f1294a4f98c470aa42118fc85924fe
treee41fb1ff88bb8b5c5bd9975f3786c073f7f775ad
parenta522d8c1e72b3875805750cba9556fd303b9c8b2
examples: modernise the fetch example

Under normal conditions, git_remote_fetch() should be the only function
used to perform a fetch. Don't let the example lead people astray.
examples/network/fetch.c