Re: [StGIT PATCH] Don't use patches/<branch>/current
From: Peter Oberndorfer <hidden>
Date: 2016-06-15 22:43:10
On Tuesday 15 May 2007 17:56, Catalin Marinas wrote:
On 06/05/07, Karl Hasselström [off-list ref] wrote:quoted
The name of the current patch, if any, is always the last line of patches/<branch>/applied (and there is no current patch if and only if the "applied" file is empty). So use that instead, and stop having to worry about keeping the redundant "current" file up-to-date.I applied this patch. Could you also send me a patch for the bash-completion script as it uses this file? I think the self.__current_file (same for the base file removed in a different patch) should still be available in the Series object and removed when deleting a branch, otherwise you get a "Series directory ... is not empty" exception. Thanks.
Hi, this is a bit OT, but when i wanted to try out this changes i found that 2 unrelated patches in you repo[1] are empty. * Store branch description in the config file * Make the "name" argument to "stg new" optional Is that a problem on my side, or are they really empty? Greetings Peter [1] http://homepage.ntlworld.com/cmarinas/stgit.git which is mirrored at http://repo.or.cz/w/stgit.git