Ævar Arnfjörð Bjarmason <[email protected]> writes:
> I think a warning (or even error) like this would be more useful:
>
> test ! -d $objdir && error... # current behavior
> test -d $objdir/objects && error "Did you mean $objdir/objects, silly?" #
> new error
If it is an error common enough, perhaps we could even DWIM it, I
guess, that is...
if test ! -d $objdir
then
error
elif test -d $objdir/objects/pack
then
possibly warn
objdir=$objdir/objects
fi
> I.e. I suspect I'm not the only one who's not read the documentation
> carefully enough and thought it was a path to the root of the repo and
> wondered why it silently didn't work.
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.