Re: [PATCH] simplified the chain if() statements of install_branch_config() function in branch.c
- From
- Nemina Amarasinghe <neminaa@gmail.com>
- Date
- Mar 10, 2014, 08:51 UTC
- Message-ID
- <loom.20140310T094407-5@post.gmane.org>
- In-Reply-To
- <vpqd2huihsc.fsf@anie.imag.fr>
Show 5 quoted lines
> > Nemina Amarasinghe <neminaa <at> gmail.com> writes: > > Is it me, or is (origin || !origin) a tautology? >
Thanks for the advices Matthieu. I will go through the documentations again. Is there anything wrong with my logic? What I wanted to express is ((!remote_is_branch && origin) || (!remote_is_branch || !origin))