git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Minor bug in 'stg edit' ?
@ 2008-02-27 22:47 Paul Donohue
  2008-02-28  9:41 ` Karl Hasselström
  2008-02-28 21:43 ` Catalin Marinas
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Donohue @ 2008-02-27 22:47 UTC (permalink / raw)
  To: catalin.marinas; +Cc: git

I'm running StGIT 0.14.1

After running 'stg edit', the file '.stgit-edit.txt' is always left behind.

Is this supposed to happen?  I would have assumed the file would be automatically removed after the changes were committed.

Thanks!
-Paul

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Minor bug in 'stg edit' ?
  2008-02-27 22:47 Minor bug in 'stg edit' ? Paul Donohue
@ 2008-02-28  9:41 ` Karl Hasselström
  2008-02-28 21:43 ` Catalin Marinas
  1 sibling, 0 replies; 5+ messages in thread
From: Karl Hasselström @ 2008-02-28  9:41 UTC (permalink / raw)
  To: Paul Donohue; +Cc: catalin.marinas, git

On 2008-02-27 17:47:57 -0500, Paul Donohue wrote:

> After running 'stg edit', the file '.stgit-edit.txt' is always left
> behind. Is this supposed to happen? I would have assumed the file
> would be automatically removed after the changes were committed.

Yes, I'd say that's a bug.

> I'm running StGIT 0.14.1.

The bug is gone in the master branch (at least as far as I can tell);
it probably disappeared when stg edit was switched to the new
infrastructure.

> Thanks!

Thanks for the bug report.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Minor bug in 'stg edit' ?
  2008-02-27 22:47 Minor bug in 'stg edit' ? Paul Donohue
  2008-02-28  9:41 ` Karl Hasselström
@ 2008-02-28 21:43 ` Catalin Marinas
  2008-02-28 21:54   ` Paul Donohue
  1 sibling, 1 reply; 5+ messages in thread
From: Catalin Marinas @ 2008-02-28 21:43 UTC (permalink / raw)
  To: Paul Donohue; +Cc: git

On 27/02/2008, Paul Donohue <stgit-bug@topquark.net> wrote:
> I'm running StGIT 0.14.1
>
>  After running 'stg edit', the file '.stgit-edit.txt' is always left behind.
>
>  Is this supposed to happen?  I would have assumed the file would be automatically removed after the changes were committed.

I wouldn't say it's a bug as I never thought it would cause any
problems if left. Anyway, we could remove it if the operation was
successful.

-- 
Catalin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Minor bug in 'stg edit' ?
  2008-02-28 21:43 ` Catalin Marinas
@ 2008-02-28 21:54   ` Paul Donohue
  2008-02-29  8:00     ` Karl Hasselström
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Donohue @ 2008-02-28 21:54 UTC (permalink / raw)
  To: Catalin Marinas; +Cc: git

The only problem it causes is that it shows up as an untracked file if you run 'git status'

I guess this doesn't really matter since you should be using 'stg status' instead, but 'git status' supports colors, so I generally use that instead of 'stg status', since I can interpret the colored output slightly faster than I can scan for ? flags when I want to know if I need to 'stg add' any files before I 'stg refresh'...

Thanks.
-Paul

On Thu, Feb 28, 2008 at 09:43:53PM +0000, Catalin Marinas wrote:
> On 27/02/2008, Paul Donohue <stgit-bug@topquark.net> wrote:
> > I'm running StGIT 0.14.1
> >
> >  After running 'stg edit', the file '.stgit-edit.txt' is always left behind.
> >
> >  Is this supposed to happen?  I would have assumed the file would be automatically removed after the changes were committed.
> 
> I wouldn't say it's a bug as I never thought it would cause any
> problems if left. Anyway, we could remove it if the operation was
> successful.
> 
> -- 
> Catalin
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Minor bug in 'stg edit' ?
  2008-02-28 21:54   ` Paul Donohue
@ 2008-02-29  8:00     ` Karl Hasselström
  0 siblings, 0 replies; 5+ messages in thread
From: Karl Hasselström @ 2008-02-29  8:00 UTC (permalink / raw)
  To: Paul Donohue; +Cc: Catalin Marinas, git

On 2008-02-28 16:54:15 -0500, Paul Donohue wrote:

> The only problem it causes is that it shows up as an untracked file
> if you run 'git status'

I put ".stgit*" in my ~/.gitignore ages ago. :-)

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-02-29  8:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-27 22:47 Minor bug in 'stg edit' ? Paul Donohue
2008-02-28  9:41 ` Karl Hasselström
2008-02-28 21:43 ` Catalin Marinas
2008-02-28 21:54   ` Paul Donohue
2008-02-29  8:00     ` Karl Hasselström

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).