diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-10-24 04:49:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-10-24 18:47:50 -0700 |
commit | 59b2023fbb154bc4671782955daddf8ef3018c93 (patch) | |
tree | c133f6238847814e27bffb07c0f4d80b8c5c28b9 /merge-tree.c | |
parent | 2ee52eb17c26323b3f62538a44510aae75f09d6f (diff) | |
download | git-59b2023fbb154bc4671782955daddf8ef3018c93.tar.gz git-59b2023fbb154bc4671782955daddf8ef3018c93.tar.xz |
git-remote: fix "Use of uninitialized value in string ne"
martin f krafft <madduck@madduck.net> writes:
> piper:~> git remote show origin
> * remote origin
> URL: ssh://git.madduck.net/~/git/etc/mailplate.git
> Use of uninitialized value in string ne at /usr/local/stow/git/bin/git-remote line 248.
This is because there might not be branch.<name>.remote defined but
the code unconditionally dereferences $branch->{$name}{'REMOTE'} and
compares with another string.
Tested-by: Martin F Krafft <madduck@madduck.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-tree.c')
0 files changed, 0 insertions, 0 deletions