From: Junio C Hamano Date: Mon, 18 Nov 2013 19:27:15 GMT Subject: Re: [PATCH] branch: fix --verbose output column alignment Message-ID: In-Reply-To: <1384453081-7679-1-git-send-email-hegge@resisty.net> Torstein Hegge writes: > Commit f2e0873 (branch: report invalid tracking branch as gone) removed > an early return from fill_tracking_info() in the path taken when 'git > branch -v' lists a branch in sync with its upstream. This resulted in an > unconditionally added space in front of the subject line: > > $ git branch -v > * master f5eb3da commit pushed to upstream > topic f935eb6 unpublished topic > > Instead, only add the trailing space if a decoration have been added. > > To catch this kind of whitespace breakage in the tests, be a bit less > smart when filtering the output through sed. > > Signed-off-by: Torstein Hegge > --- Thanks.