Browse Source

Merge refs/heads/master from .

maint v0.99.5
Junio C Hamano 20 years ago
parent
commit
3857284f7b
  1. 2
      git-checkout-script
  2. 2
      ls-files.c

2
git-checkout-script

@ -72,4 +72,6 @@ if [ "$?" -eq 0 ]; then @@ -72,4 +72,6 @@ if [ "$?" -eq 0 ]; then
fi
[ "$branch" ] && ln -sf "refs/heads/$branch" "$GIT_DIR/HEAD"
rm -f "$GIT_DIR/MERGE_HEAD"
else
exit 1
fi

2
ls-files.c

@ -496,7 +496,7 @@ static void verify_pathspec(void) @@ -496,7 +496,7 @@ static void verify_pathspec(void)
char c = n[i];
if (prev && prev[i] != c)
break;
if (c == '*' || c == '?')
if (!c || c == '*' || c == '?')
break;
if (c == '/')
len = i+1;

Loading…
Cancel
Save