Re: [PATCH 2/4] mergetool: move main program flow into a main() function
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Oct 7, 2016, 05:51 UTC
- Message-ID
- <49cabceb-fdff-3ccb-b25d-ade9b08bdda2@kdbg.org>
- In-Reply-To
- <1475797679-32712-2-git-send-email-davvid@gmail.com>
Am 07.10.2016 um 01:47 schrieb David Aguilar:
> Signed-off-by: David Aguilar <davvid@gmail.com> > ---
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 this is sufficient justification; you are adding a level of indentation after all.
-- Hannes