summaryrefslogtreecommitdiff
path: root/contrib/examples/git-reset.sh
diff options
context:
space:
mode:
authorLibravatar Brandon Casey <casey@nrlssc.navy.mil>2008-10-14 15:30:21 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-10-14 17:18:29 -0700
commitc82efafcfa741cdddbc68379c1905953f58ef21d (patch)
tree3fc11660fed02a252141b22e41bc6c6f315780b0 /contrib/examples/git-reset.sh
parentAdd testcase to ensure merging an early part of a branch is done properly (diff)
downloadtgif-c82efafcfa741cdddbc68379c1905953f58ef21d.tar.xz
remote.c: correct the check for a leading '/' in a remote name
This test is supposed to disallow remote entries in the config file of the form: [remote "/foobar"] ... The leading slash in '/foobar' is not acceptable. Instead it was incorrectly testing that the subkey had no leading '/', which had no effect since the subkey pointer was made to point at a '.' in the preceding lines. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Acked-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-reset.sh')
0 files changed, 0 insertions, 0 deletions