summaryrefslogtreecommitdiff
path: root/fetch-pack.h
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2016-10-07 23:58:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-10-11 17:04:23 (GMT)
commit08221e3fa27396aca30cb539f006f78636782951 (patch)
tree71f5d7b2f8834931b70b19ba74355572445ae9f0 /fetch-pack.h
parent8827b3a8873ebfad79b324d6134c1ec4bbea5f06 (diff)
downloadgit-08221e3fa27396aca30cb539f006f78636782951.zip
git-08221e3fa27396aca30cb539f006f78636782951.tar.gz
git-08221e3fa27396aca30cb539f006f78636782951.tar.bz2
mergetool: move main program flow into a main() function
Make it easier to follow the program's flow by isolating all logic into functions. Isolate the main execution code path into a single unit instead of having prompt_after_failed_merge() interrupt it partyway through. The use of a main() function is borrowing a convention from C, Python, Perl, and many other languages. This helps readers more familiar with other languages understand the purpose of each function when diving into the codebase with fresh eyes. Signed-off-by: David Aguilar <davvid@gmail.com> Reviewed-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.h')
0 files changed, 0 insertions, 0 deletions