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

Re: What's cooking in git.git (Jun 2015, #06; Wed, 24)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 25, 2015, 11:04 UTC
Message-ID
<d825b05938778f4ee911cbb8c3c8573b@www.dscho.org>
In-Reply-To
<CAGZ79kby0RaKiS2e4o7O7OyLGCftMYVJppvATyPxpzJUOe59jw@mail.gmail.com>
Hi,
On 2015-06-25 03:01, Stefan Beller wrote:
Show 27 quoted lines
>> * pt/pull-builtin (2015-06-18) 19 commits
>>  - pull: remove redirection to git-pull.sh
>>  - pull --rebase: error on no merge candidate cases
>>  - pull --rebase: exit early when the working directory is dirty
>>  - pull: configure --rebase via branch.<name>.rebase or pull.rebase
>>  - pull: teach git pull about --rebase
>>  - pull: set reflog message
>>  - pull: implement pulling into an unborn branch
>>  - pull: fast-forward working tree if head is updated
>>  - pull: check if in unresolved merge state
>>  - pull: support pull.ff config
>>  - pull: error on no merge candidates
>>  - pull: pass git-fetch's options to git-fetch
>>  - pull: pass git-merge's options to git-merge
>>  - pull: pass verbosity, --progress flags to fetch and merge
>>  - pull: implement fetch + merge
>>  - pull: implement skeletal builtin pull
>>  - argv-array: implement argv_array_pushv()
>>  - parse-options-cb: implement parse_opt_passthru_argv()
>>  - parse-options-cb: implement parse_opt_passthru()
>>
>>  Reimplement 'git pull' in C.
>>
>>  This is v4 ($gmane/271943).
>>  Comments from mentors and others?
> 
> I think the series is good as is.
I just had a fresh look. Some comments:
- I *think* that the current `recreate_opt()` is fine, but if it is used more, we will have to quote the arguments to guard against spaces and quotes and whatnot
- There is a loop
        for (; *argv; argv++)
               argv_array_push(array, *argv);
  which might want to be written as
        while (*argv)
               argv_array_push(array, *(argv)++);
  to conform better with Git's coding style, but this one is not crucial at all.
Having said that, I really think this is impressive work, and not only the outcome. It is a real pleasure to have you, Paul!

I vote for merging, too, Dscho

Previous: Stefan BellerNext: Junio C Hamano
Message 3 of 7 in “What's cooking in git.git (Jun 2015, #06; Wed, 24)”
  1. Junio C HamanoJun 24, 2015
  2. Stefan BellerJun 25, 2015
  3. Johannes SchindelinJun 25, 2015
  4. Junio C HamanoJun 25, 2015
  5. Johannes SchindelinJun 25, 2015
  6. Tony FinchJun 29, 2015
  7. Torsten BögershausenJun 29, 2015

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.