git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Rast <trast@student.ethz.ch>
To: fREW Schmidt <frioux@gmail.com>
Cc: <git@vger.kernel.org>
Subject: Re: git-fixup-assigner.perl -- automatically decide where to "fixup!"
Date: Wed, 26 Oct 2011 21:40:50 +0200	[thread overview]
Message-ID: <201110262140.50786.trast@student.ethz.ch> (raw)
In-Reply-To: <CADVrmKT1woYpJoe=L9sAbQ30TUw44zMc7y4WF=PMrT5Gj9kDNw@mail.gmail.com>

fREW Schmidt wrote:
> 
>   $ git fixup-assigner.pl > fixups && less fixups
>   #!/bin/sh
> 
>   git apply --cached <<EOF
[...]
>   -   $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

      reply	other threads:[~2011-10-26 19:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14  2:09 git-fixup-assigner.perl -- automatically decide where to "fixup!" Thomas Rast
2011-10-26 14:37 ` fREW Schmidt
2011-10-26 19:40   ` Thomas Rast [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201110262140.50786.trast@student.ethz.ch \
    --to=trast@student.ethz.ch \
    --cc=frioux@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).