summaryrefslogtreecommitdiff
path: root/t/t4015-diff-whitespace.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2012-07-18 08:04:30 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-07-18 13:26:53 -0700
commit6319a2a148adaa78f11414e914f8c9f3f1c52b5e (patch)
treea223fb037abb7b810227eb5efd70550a0f06765a /t/t4015-diff-whitespace.sh
parentdocs/credential: minor clarity fixups (diff)
downloadtgif-6319a2a148adaa78f11414e914f8c9f3f1c52b5e.tar.xz
mw-to-git: check blank credential attributes via length
When writing a credential to git-credential, we omit fields that do not have a true value. This will skip empty or undefined fields (which we want), but will also accidentally skip usernames or passwords which happen to have a non-true value (e.g., "0"). Be more careful by checking for non-zero length. Signed-off-by: Jeff King <peff@peff.net> Acked-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4015-diff-whitespace.sh')
0 files changed, 0 insertions, 0 deletions