git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: "stgit clean" has problems with removed generated files

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Dec 6, 2006, 13:12 UTC
Message-ID
<b0943d9e0612060512w272d656dwa3ef5b6875abf8fa@mail.gmail.com>
In-Reply-To
<20061123192831.GL5443@nan92-1-81-57-214-146.fbx.proxad.net>
On 23/11/06, Yann Dirson <ydirson@altern.org> wrote:
> On Thu, Nov 23, 2006 at 04:33:42PM +0000, Catalin Marinas wrote:
> > >First, when cleaning patches, we could first look up which patches are
> > >to be removed, and only pop the necessary ones.
I fixed this.
Show 5 quoted lines
> > Is there any other place where ranges could be used but aren't?
>
> Hm, let's see...  I'd say "export" (I have missed it already), "files"
> and maybe "commit" and "pick", although the latter would require a syntax
> for ranges in other branch.

I changed the export command to take a range of patches as arguments (and a --dir option for the export directory).

> While reviewing the various commands for this, I realized that "stg pop
> <patch>" semantics is significantly different from "stg push <patch>" -
> ie. it is an equivalent of "goto".  What about turning it into a
> float+pop, to better match the "push" behaviour ?
Thanks for the suggestion, I fixed pop to take patch ranges now.
> I also realized that "stg help <command>" output does not go through to
> the pager, while eg. the help for "mail" is quite long.
Added this feature as well. I'll try to push the changes tonight.
Previous: Jakub Narebski
Message 5 of 5 in “"stgit clean" has problems with removed generated files”
  1. Yann DirsonNov 23, 2006
  2. Catalin MarinasNov 23, 2006
  3. Yann DirsonNov 23, 2006
  4. Jakub NarebskiNov 24, 2006
  5. Catalin MarinasDec 6, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.