[GASPP] Fix inconsistent indentation

Message ID 20170323101402.25279-1-martin@martin.st
State Committed
Headers show

Commit Message

Martin Storsjö March 23, 2017, 10:14 a.m.
These two lines were accidentally intended with tabs.
---
 gas-preprocessor.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Luca Barbato March 23, 2017, 10:55 a.m. | #1
On 23/03/2017 11:14, Martin Storsjo wrote:
> These two lines were accidentally intended with tabs.
> ---
>  gas-preprocessor.pl | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
> index c5a71fb..35d201d 100755
> --- a/gas-preprocessor.pl
> +++ b/gas-preprocessor.pl
> @@ -71,11 +71,11 @@ while (@ARGV) {
>          usage();
>          exit 0;
>      } elsif ($opt eq "--" ) {
> -	@gcc_cmd = @ARGV;
> +        @gcc_cmd = @ARGV;
>      } elsif ($opt =~ /^-/) {
>          die "option '$opt' is not known. See '$0 -help' for usage information\n";
>      } else {
> -	push @gcc_cmd, $opt, @ARGV;
> +        push @gcc_cmd, $opt, @ARGV;
>      }
>      last if (@gcc_cmd);
>  }
> 

Ok. you may also push the PR we got yesterday while at it?
Diego Biurrun March 23, 2017, 10:55 a.m. | #2
On Thu, Mar 23, 2017 at 12:14:02PM +0200, Martin Storsjo wrote:
> These two lines were accidentally intended with tabs.

inDenTed

LGTM

Diego

P.S.: I do wonder why there is no pre-receive hook that catches tabs..
Martin Storsjö March 23, 2017, 11:13 a.m. | #3
On Thu, 23 Mar 2017, Diego Biurrun wrote:

> On Thu, Mar 23, 2017 at 12:14:02PM +0200, Martin Storsjo wrote:
>> These two lines were accidentally intended with tabs.
>
> inDenTed
>
> LGTM
>
> Diego
>
> P.S.: I do wonder why there is no pre-receive hook that catches tabs..

I think we might have one, but not set up for gas-preprocessor.

// Martin

Patch

diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
index c5a71fb..35d201d 100755
--- a/gas-preprocessor.pl
+++ b/gas-preprocessor.pl
@@ -71,11 +71,11 @@  while (@ARGV) {
         usage();
         exit 0;
     } elsif ($opt eq "--" ) {
-	@gcc_cmd = @ARGV;
+        @gcc_cmd = @ARGV;
     } elsif ($opt =~ /^-/) {
         die "option '$opt' is not known. See '$0 -help' for usage information\n";
     } else {
-	push @gcc_cmd, $opt, @ARGV;
+        push @gcc_cmd, $opt, @ARGV;
     }
     last if (@gcc_cmd);
 }