{"thread":{"id":"12348","subject":"Minor bug in 'stg edit' ?","startedAt":"2008-02-27T22:47:57Z","lastAt":"2008-02-29T08:00:10Z","messageCount":5,"participants":["Paul Donohue","Karl Hasselström","Catalin Marinas"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"70174","messageId":"20080227224756.GK2222@TopQuark.net","threadId":"12348","inReplyTo":null,"subject":"Minor bug in 'stg edit' ?","fromName":"Paul Donohue","fromEmail":"stgit-bug@topquark.net","sentAt":"2008-02-27T22:47:57Z","receivedAt":"2008-02-27T22:47:57Z","isPatch":false,"sender":{"key":"stgit-bug@topquark.net","avatar":null},"body":"I'm running StGIT 0.14.1\n\nAfter running 'stg edit', the file '.stgit-edit.txt' is always left behind.\n\nIs this supposed to happen?  I would have assumed the file would be automatically removed after the changes were committed.\n\nThanks!\n-Paul\n"},{"id":"70229","messageId":"20080228094107.GB28085@diana.vm.bytemark.co.uk","threadId":"12348","inReplyTo":"20080227224756.GK2222@TopQuark.net","subject":"Re: Minor bug in 'stg edit' ?","fromName":"Karl Hasselström","fromEmail":"kha@treskal.com","sentAt":"2008-02-28T09:41:07Z","receivedAt":"2008-02-28T09:41:07Z","isPatch":false,"sender":{"key":"kha@treskal.com","avatar":"https://gravatar.com/avatar/f0120c734b5279b345075a28521e1ac66acb20c9913ffe9bf6ae97e53f7f3f13?d=mp&s=160"},"body":"On 2008-02-27 17:47:57 -0500, Paul Donohue wrote:\n\n> After running 'stg edit', the file '.stgit-edit.txt' is always left\n> behind. Is this supposed to happen? I would have assumed the file\n> would be automatically removed after the changes were committed.\n\nYes, I'd say that's a bug.\n\n> I'm running StGIT 0.14.1.\n\nThe bug is gone in the master branch (at least as far as I can tell);\nit probably disappeared when stg edit was switched to the new\ninfrastructure.\n\n> Thanks!\n\nThanks for the bug report.\n\n-- \nKarl Hasselström, kha@treskal.com\n      www.treskal.com/kalle\n"},{"id":"70319","messageId":"b0943d9e0802281343l7c3190a1va564a87afce1ea06@mail.gmail.com","threadId":"12348","inReplyTo":"20080227224756.GK2222@TopQuark.net","subject":"Re: Minor bug in 'stg edit' ?","fromName":"Catalin Marinas","fromEmail":"catalin.marinas@gmail.com","sentAt":"2008-02-28T21:43:53Z","receivedAt":"2008-02-28T21:43:53Z","isPatch":false,"sender":{"key":"catalin.marinas@gmail.com","avatar":null},"body":"On 27/02/2008, Paul Donohue <stgit-bug@topquark.net> wrote:\n> I'm running StGIT 0.14.1\n>\n>  After running 'stg edit', the file '.stgit-edit.txt' is always left behind.\n>\n>  Is this supposed to happen?  I would have assumed the file would be automatically removed after the changes were committed.\n\nI wouldn't say it's a bug as I never thought it would cause any\nproblems if left. Anyway, we could remove it if the operation was\nsuccessful.\n\n-- \nCatalin\n"},{"id":"70323","messageId":"20080228215415.GO2222@TopQuark.net","threadId":"12348","inReplyTo":"b0943d9e0802281343l7c3190a1va564a87afce1ea06@mail.gmail.com","subject":"Re: Minor bug in 'stg edit' ?","fromName":"Paul Donohue","fromEmail":"stgit-bug@topquark.net","sentAt":"2008-02-28T21:54:15Z","receivedAt":"2008-02-28T21:54:15Z","isPatch":false,"sender":{"key":"stgit-bug@topquark.net","avatar":null},"body":"The only problem it causes is that it shows up as an untracked file if you run 'git status'\n\nI 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'...\n\nThanks.\n-Paul\n\nOn Thu, Feb 28, 2008 at 09:43:53PM +0000, Catalin Marinas wrote:\n> On 27/02/2008, Paul Donohue <stgit-bug@topquark.net> wrote:\n> > I'm running StGIT 0.14.1\n> >\n> >  After running 'stg edit', the file '.stgit-edit.txt' is always left behind.\n> >\n> >  Is this supposed to happen?  I would have assumed the file would be automatically removed after the changes were committed.\n> \n> I wouldn't say it's a bug as I never thought it would cause any\n> problems if left. Anyway, we could remove it if the operation was\n> successful.\n> \n> -- \n> Catalin\n> \n"},{"id":"70369","messageId":"20080229080010.GB14773@diana.vm.bytemark.co.uk","threadId":"12348","inReplyTo":"20080228215415.GO2222@TopQuark.net","subject":"Re: Minor bug in 'stg edit' ?","fromName":"Karl Hasselström","fromEmail":"kha@treskal.com","sentAt":"2008-02-29T08:00:10Z","receivedAt":"2008-02-29T08:00:10Z","isPatch":false,"sender":{"key":"kha@treskal.com","avatar":"https://gravatar.com/avatar/f0120c734b5279b345075a28521e1ac66acb20c9913ffe9bf6ae97e53f7f3f13?d=mp&s=160"},"body":"On 2008-02-28 16:54:15 -0500, Paul Donohue wrote:\n\n> The only problem it causes is that it shows up as an untracked file\n> if you run 'git status'\n\nI put \".stgit*\" in my ~/.gitignore ages ago. :-)\n\n-- \nKarl Hasselström, kha@treskal.com\n      www.treskal.com/kalle\n"}]}