Name |
Last commit
|
Last update |
---|---|---|
.. | ||
branches | ||
reflog | ||
crashes.c | ||
create.c | ||
delete.c | ||
foreachglob.c | ||
isvalidname.c | ||
list.c | ||
listall.c | ||
lookup.c | ||
normalize.c | ||
overwrite.c | ||
pack.c | ||
peel.c | ||
read.c | ||
rename.c | ||
revparse.c | ||
unicode.c | ||
update.c |
A leading slash confuses the name normalization code when the flags include ALLOW_ONELEVEL. Catch this case in particular to avoid triggering an assertion in the uppercase check which expects us not to pass it an empty string. The existing tests don't catch this as they simply use the NORMAL flag. This fixes #1300.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
branches | Loading commit data... | |
reflog | Loading commit data... | |
crashes.c | Loading commit data... | |
create.c | Loading commit data... | |
delete.c | Loading commit data... | |
foreachglob.c | Loading commit data... | |
isvalidname.c | Loading commit data... | |
list.c | Loading commit data... | |
listall.c | Loading commit data... | |
lookup.c | Loading commit data... | |
normalize.c | Loading commit data... | |
overwrite.c | Loading commit data... | |
pack.c | Loading commit data... | |
peel.c | Loading commit data... | |
read.c | Loading commit data... | |
rename.c | Loading commit data... | |
revparse.c | Loading commit data... | |
unicode.c | Loading commit data... | |
update.c | Loading commit data... |