From ec31b0ce983e7e96b8a419dec3c34907b2f8226e Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Tue, 18 Mar 2008 21:52:00 +0100 Subject: builtin-remote: Fix missing newline at end of listing of pushed branches Without this the output of 'git remote show' does not end with a new-line: bash> git remote show repo * remote repo URL: repo.or.cz:/srv/git/kdbg.git Tracked remote branches maint master mob Local branch pushed with 'git push' +master:masterbash> Signed-off-by: Johannes Sixt Acked-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- builtin-remote.c | 1 + 1 file changed, 1 insertion(+) (limited to 'builtin-remote.c') diff --git a/builtin-remote.c b/builtin-remote.c index 9c1517303..d77f10a0e 100644 --- a/builtin-remote.c +++ b/builtin-remote.c @@ -472,6 +472,7 @@ static int show_or_prune(int argc, const char **argv, int prune) spec->dst ? ":" : "", skip_prefix(spec->dst, "refs/heads/")); } + printf("\n"); } cleanup_states: /* NEEDSWORK: free remote */ -- cgit v1.2.1