Revision f9308a182e220c97cdbf90ee8de2ce21980cb7e9 authored by Jakub Narebski on 23 March 2007, 20:04:31 UTC, committed by Junio C Hamano on 23 March 2007, 21:54:52 UTC
Fix copy'n'paste error in commit c9d193df which caused that "next"
link for merge commits in "commit" view
  (merge: _commit_ _commit_ ...)
was to "commitdiff" view instead of being to "commit" view.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 979ea58
Raw File
t3020-ls-files-error-unmatch.sh
#!/bin/sh
#
# Copyright (c) 2006 Carl D. Worth
#

test_description='git-ls-files test for --error-unmatch option

This test runs git-ls-files --error-unmatch to ensure it correctly
returns an error when a non-existent path is provided on the command
line.
'
. ./test-lib.sh

touch foo bar
git-update-index --add foo bar
git-commit -m "add foo bar"

test_expect_failure \
    'git-ls-files --error-unmatch should fail with unmatched path.' \
    'git-ls-files --error-unmatch foo bar-does-not-match'

test_expect_success \
    'git-ls-files --error-unmatch should succeed eith matched paths.' \
    'git-ls-files --error-unmatch foo bar'

test_done
1
back to top