author | Junio C Hamano <gitster@pobox.com> | |
Sun, 6 Jul 2008 09:54:56 +0000 (02:54 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 6 Jul 2008 09:54:56 +0000 (02:54 -0700) | ||
commit | 926ab840cdc867b54fa93b8e1ece2790315c2456 | |
tree | 4e96ebc8b63db395b81a49962e959e584873624c | tree | snapshot |
parent | c0234b2ef6a8eaa27d9d93c4c96b36d9e82ebf9c | commit | diff |
branch -r -v: do not spit out garbage
The codepath to emit relationship between the branch and what it tracks
forgot to initialize a string buffer stat[] to empty when showing a
tracking branch. This moves the emptying so that the buffer starts as
empty and stays so when no information is added to fix this issue.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The codepath to emit relationship between the branch and what it tracks
forgot to initialize a string buffer stat[] to empty when showing a
tracking branch. This moves the emptying so that the buffer starts as
empty and stays so when no information is added to fix this issue.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-branch.c | diff | blob | history |