From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <20120420213934.1v2ed14r3r0kc80c@courrier.univ-paris1.fr> From: Mathieu Lonjaret Date: Thu, 14 Jun 2012 14:51:54 +0200 Message-ID: Subject: Re: git and (p9p) acme To: Russ Cox Cc: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, plan9port-dev@googlegroups.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 9ddadf40-ead7-11e9-9d60-3106f5b1d025 It happened again. and I've just realized it's simply what you had warned about: since it was an --amend and I didn't change anything in the message there was no change to the ls -l output, hence E did nothing when I Put. On Fri, Apr 27, 2012 at 12:20 AM, Mathieu Lonjaret wrote: > I've just retried on the machine where I had the problem and it now > just works. No need even for awd indeed. > I'll try and reproduce the behavior, but I just don't see what I may > have done different the previous times... > > thanks, > Mathieu > > On Thu, Apr 26, 2012 at 5:32 AM, Russ Cox wrote: >> On Wed, Apr 25, 2012 at 5:35 PM, Mathieu Lonjaret >> wrote: >>> So, are you saying E just works out of the box for you as the $EDITOR >>> for git/hg? >> >> Yes. =C2=A0Note that E waits for the file to change by running >> ls -l on the file in a loop. =C2=A0If for some reason doing the Put >> does not change the ls -l output (date+size, primarily) then >> E will not exit. =C2=A0If you are having trouble I would suggest >> putting some echo statements in the script or just doing >> 'set -e' at the top so that it echoes each statement as it >> executes (including the all-important comparison). >> >> I cannot imagine why using awd would change the behavior >> of the E script. >> >> Russ