[pacman-dev] [PATCH 2/6] repo-add: fail early if repo can not be created

Xavier shiningxc at gmail.com
Sun Mar 1 06:33:47 EST 2009


On Sat, Feb 28, 2009 at 10:37 PM, Dan McGee <dpmcgee at gmail.com> wrote:
>
> Also agree with Allan's style comments, and I am not sure why vim
> indents like it does.
>

I guess vim considers case blocks just like any other blocks :
  " Add a 'shiftwidth' after if, while, else, case, until, for, function()

So it indents all the lines inside a case/esac at the same level.
And it apparently does not consider case statements as blocks.

That indentation is made even worse by the fact that I didn't even put
a newline between the different case statements, so it is even harder
to see them.
Anyway my updated patches have manual indentation now.


More information about the pacman-dev mailing list