indirect: Better behavior when a file in direct mode is not owned by the user running the conversion.

This commit is contained in:
Joey Hess 2013-09-25 15:29:56 -04:00
parent c923c981b9
commit c45f5fbdb3
4 changed files with 30 additions and 4 deletions

View file

@ -69,3 +69,10 @@ index 7835988..ed8ea6c 100644
"""]]
Any update on this? Why is `-a` used here? -- [[anarcat]]
> -a is not really the problem. You certianly do usually want
> to commit your changes before converting to direct mode.
>
> [[done]]; now when this happens it catches the exception and
> leaves the file in direct mode, which is the same as it being
> unlocked. --[[Joey]]