From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: <33fbfcba-49eb-4797-92d1-c3c0c1fc1c11@email.android.com> In-Reply-To: <33fbfcba-49eb-4797-92d1-c3c0c1fc1c11@email.android.com> From: Paul Lalonde Date: Thu, 16 Feb 2017 13:05:08 +0000 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a1145e71622c0930548a57359 Subject: Re: [9fans] Acme and Git Topicbox-Message-UUID: b4129760-ead9-11e9-9d60-3106f5b1d025 --001a1145e71622c0930548a57359 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'll give Watch and a bit of scripting a shot. I couldn't find a git "HEAD changed" hook to tie to, so Watch is pretty much the right thing. Thanks! On Wed, Feb 15, 2017 at 9:04 PM Erik Quanstrom wrote: > try writing the file? =F0=9F=98=80 > > On Feb 15, 2017 5:05 AM, Paul Lalonde wrote: > > I know I'm not the only acme user who uses Git extensively :-) > Is there some way to tell if a file is changed on disk that is open in an > editor window? I frequently change branches and I often find myself > editing stale versions. I notice when comes time to Put, but that's a bi= t > late. > > Any tips to share? > > Paul > > > --001a1145e71622c0930548a57359 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'll give Watch and a bit of scripting a shot.=C2=A0 I= couldn't find a git "HEAD changed" hook to tie to, so Watch = is pretty much the right thing.

Thanks!

On Wed, Feb 15, 2017 at 9:04 PM Erik Quan= strom <quanstro@quanstro.net> wrote:

On Feb 15, 2017 5:05 AM, Paul Lalonde <paul.a.lalonde@g= mail.com> wrote:
I know I'm not the only acme user who uses Git extensively = :-)
Is there some way to tell if a file is changed = on disk that is open in an editor window?=C2=A0 I frequently change branche= s and I often find myself editing stale versions.=C2=A0 I notice when comes= time to Put, but that's a bit late.

Any tips to share?=C2=A0=

Paul

--001a1145e71622c0930548a57359--