Re: [PATCH 2/4] mergetool: move main program flow into a main() function

2016-10-06 Thread Johannes Sixt
Am 07.10.2016 um 01:47 schrieb David Aguilar: Signed-off-by: David Aguilar --- An answer to "why?" is missing here. I guess it is just so that everything happens in functions, and that there is only the invocation of main at the top-level of the script. I am unsure whether

[PATCH 2/4] mergetool: move main program flow into a main() function

2016-10-06 Thread David Aguilar
Signed-off-by: David Aguilar --- git-mergetool.sh | 180 --- 1 file changed, 93 insertions(+), 87 deletions(-) diff --git a/git-mergetool.sh b/git-mergetool.sh index 300ce7f..b2cd0a4 100755 --- a/git-mergetool.sh +++