[PATCH][GSOC2014]
- From
TamerTas <tamertas@outlook.com>
- Date
- Mar 10, 2014, 19:04 UTC
- Message-ID
- <BLU0-SMTP15143B8ABC984B63BB4F391D5740@phx.gbl>
- In-Reply-To
- <y>
I inspected branch.c:install_branch_config() and since the conditionals cover all the possibilities, I decided that making the code table-driven would be much cleaner and shorter. I've ran the tests and they all passed. Reimplementation using "git am" also didn't have any problems. Please let me know if there is any problems that I missed. I would also love to learn if you think that the code was better before and why it was better.
TamerTas (1): changed logical chain in branch.c to lookup tables
branch.c | 31 ++++++++----------------------- 1 file changed, 8 insertions(+), 23 deletions(-)
-- 1.7.9.5