Célestin Matte celestin.ma...@ensimag.fr writes:
Subroutines' parameters should be affected to variable before doing anything
else
Besides, existing instruction affected a variable inside a if, which break
Git's coding style
I think s/affect/assign/g is what you meant.
By the way, I often
Matthieu Moy matthieu@grenoble-inp.fr writes:
my ($namespace) = @_;
my $namespace = shift;
My impression has been that both are equally common,
The second is the most common in git-remote-mediawiki (but I don't have
any preference nor know what is recommended elsewhere).
I
Le 11/06/2013 20:09, Junio C Hamano a écrit :
Matthieu Moy matthieu@grenoble-inp.fr writes:
my ($namespace) = @_;
my $namespace = shift;
My impression has been that both are equally common,
The second is the most common in git-remote-mediawiki (but I don't have
any
Célestin Matte celestin.ma...@ensimag.fr writes:
Le 11/06/2013 20:09, Junio C Hamano a écrit :
Matthieu Moy matthieu@grenoble-inp.fr writes:
my ($namespace) = @_;
my $namespace = shift;
My impression has been that both are equally common,
The second is the most common in
Subroutines' parameters should be affected to variable before doing anything
else
Besides, existing instruction affected a variable inside a if, which break
Git's coding style
Signed-off-by: Célestin Matte celestin.ma...@ensimag.fr
Signed-off-by: Matthieu Moy matthieu@grenoble-inp.fr
---
5 matches
Mail list logo