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

Re: Option for git bisect run to automatically clean up

From
Christian Couder <christian.couder@gmail.com>
Date
Sep 29, 2012, 16:51 UTC
Message-ID
<CAP8UFD21eCSzjJ3a0SxPTzzi2z4KMFr=1xE3j8fPz38AJrrJTQ@mail.gmail.com>
In-Reply-To
<CAOMwXhOv7oGXhtWu0apmDD7x+Vnh0jkc2QrnSPmc-=KCQQ08Yg@mail.gmail.com>
Hi,
On Thu, Sep 27, 2012 at 6:55 PM, Laszlo Papp <lpapp@kde.org> wrote:
Show 9 quoted lines
> Hi everybody,
>
> I have just run into a problem when I had to issue an explicit cleanup for
> tracked files after a configure run in the Qt5 project. I have tried to
> suggest to the people to bring up this idea on the mailing list in order to
> get this further on. Unfortunately I did not have time to do so, especially
> for the follow-up. I have also been told it is not a good way of asking on
> IRC which surprised me a bit, but I am now bringing this up, and I try to
> also make the follow-up. Hope it is ok.

At first I thought that your idea was to have an option to "git bisect run" so that a "git bisect reset" is run automatically after the bisection is finished. But I search the IRC log and found the discussion here:

http://colabti.org/irclogger/irclogger_log/git?date=2012-09-27
and I found that you said:

"there should be an option for git bisect run which executed the "whatever clean command git has like git clean -fdx"./"

I understand that, but I wonder what we should do if some people need a "git reset --hard" and if some other people need other options than -dfx. We would need both a --reset and a --clean, or perhaps even a --reset[=(hard|mixed|soft|merge|keep) and a --clean[=<clean-opts>]. And then what if people want to clean only a subdirectory and not everything? And this does not take into account the fact that many people will/should clean using "make clean" or "make distclean" or "rake clean" or something like that, so that a --clean option will not help them.

Best, Christian.

Previous: Laszlo PappNext: Junio C Hamano
Message 2 of 3 in “Option for git bisect run to automatically clean up”
  1. Laszlo PappSep 27, 2012
  2. Christian CouderSep 29, 2012
  3. Junio C HamanoSep 29, 2012

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.