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

[PATCH 0/2] add p in C tweaks

From
PGPhillip Wood via GitGitGadget <gitgitgadget@gmail.com>
Date
Aug 17, 2020, 13:23 UTC
Message-ID
<pull.702.git.1597670589.gitgitgadget@gmail.com>
A code cleanup and small bug fix for the C version of add -p

dscho has pointed out that the bug fix in the second patch gets lost in the other changes and suggested adding the last member of the enum (which fixes the bug with handling 'e') as a separate patch. I'm unsure as it feels odd to split up the introduction of the flags - I'd be interested to hear what others think.

Phillip Wood (2):
  add -p: use ALLOC_GROW_BY instead of ALLOW_GROW
  add -p: fix checking of user input
 add-patch.c | 67 +++++++++++++++++++++++++++++++++--------------------
 1 file changed, 42 insertions(+), 25 deletions(-)
base-commit: 47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-702%2Fphillipwood%2Fwip%2Fadd-p-fixes-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-702/phillipwood/wip/add-p-fixes-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/702
-- 
gitgitgadget
Next: Phillip Wood via GitGitGadget
Message 1 of 8 in “add p in C tweaks”
  1. 0/2 add p in C tweaksPhillip Wood via GitGitGadget, Aug 17, 2020
  2. 1/2 add -p: use ALLOC_GROW_BY instead of ALLOW_GROWPhillip Wood via GitGitGadget, Aug 17, 2020
  3. Junio C HamanoAug 17, 2020
  4. 2/2 add -p: fix checking of user inputPhillip Wood via GitGitGadget, Aug 17, 2020
  5. Johannes SchindelinAug 18, 2020
  6. Johannes SchindelinAug 18, 2020
  7. Junio C HamanoAug 18, 2020
  8. Phillip WoodAug 19, 2020

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.