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

Re: [PATCH v3 2/5] stash: convert apply to builtin

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 27, 2018, 15:07 UTC
Message-ID
<nycvar.QRO.7.76.6.1803271705210.77@ZVAVAG-6OXH6DA.rhebcr.pbec.zvpebfbsg.pbz>
In-Reply-To
<20180327054432.26419-3-joel@teichroeb.net>
Hi Joel,
On Mon, 26 Mar 2018, Joel Teichroeb wrote:
Show 14 quoted lines
> Add a bulitin helper for performing stash commands. Converting
> all at once proved hard to review, so starting with just apply
> let conversion get started without the other command being
> finished.
> 
> The helper is being implemented as a drop in replacement for
> stash so that when it is complete it can simply be renamed and
> the shell script deleted.
> 
> Delete the contents of the apply_stash shell function and replace
> it with a call to stash--helper apply until pop is also
> converted.
> 
> Signed-off-by: Joel Teichroeb <joel@teichroeb.net>
Very good!

In the interest of as incremental a change as possible, I would wager a bet that this is the best way we can go about it, later replacing the parts that still spawn Git processes (such as get_symbolic_name and have_stash) with direct calls into libgit.a, one by one.

Thank you! Dscho

Previous: Joel TeichroebNext: Johannes Schindelin
Message 4 of 10 in “Convert some stash functionality to a builtin”
  1. 0/5 Convert some stash functionality to a builtinJoel Teichroeb, Mar 27, 2018
  2. 1/5 stash: improve option parsing test coverageJoel Teichroeb, Mar 27, 2018
  3. 2/5 stash: convert apply to builtinJoel Teichroeb, Mar 27, 2018
  4. Johannes SchindelinMar 27, 2018
  5. Johannes SchindelinMar 27, 2018
  6. Joel TeichroebMar 27, 2018
  7. 3/5 stash: convert drop and clear to builtinJoel Teichroeb, Mar 27, 2018
  8. 4/5 stash: convert branch to builtinJoel Teichroeb, Mar 27, 2018
  9. 5/5 stash: convert pop to builtinJoel Teichroeb, Mar 27, 2018
  10. Johannes SchindelinMar 27, 2018

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.