Thread (1 message) 1 message, 1 author, 2016-06-15
  • (off-list ancestor, not in this archive)
  • [PATCH][GSOC2014] · TamerTas <hidden> · 2016-06-15
DORMANTno replies

[PATCH][GSOC2014]

From: TamerTas <hidden>
Date: 2016-06-15 23:00:15

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help