Re: git-fixup-assigner.perl -- automatically decide where to "fixup!"
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Oct 26, 2011, 19:40 UTC
- Message-ID
- <201110262140.50786.trast@student.ethz.ch>
- In-Reply-To
- <CADVrmKT1woYpJoe=L9sAbQ30TUw44zMc7y4WF=PMrT5Gj9kDNw@mail.gmail.com>
fREW Schmidt wrote:
Show 5 quoted lines
> > $ git fixup-assigner.pl > fixups && less fixups > #!/bin/sh > > git apply --cached <<EOF
[...]
Show 10 quoted lines
> - $self->set($c,
> $c->model('DB')->schema->kiokudb_handle->lookup('dashboard
> templates'));
> + $self->set($c, $c->model('Kioku')->lookup('dashboard templates'));
> }
> EOF
>
> git commit --fixup 7765cbd2
>
> Looks fine to me. But then I try to use it:The shell will expand variables in the <<EOF section above. You can fix that by changing it to output <<\EOF instead, which is clearly a bug in the original script.
--
Thomas Rast
trast@{inf,student}.ethz.ch