Re: What's cooking in git.git (Sep 2017, #06; Fri, 29)
Martin Ågrenwrites: > On 29 September 2017 at 06:34, Junio C Hamano wrote: >> >> * sd/branch-copy (2017-09-24) 4 commits >> (merged to 'next' on 2017-09-28 at a6eceefa02) >> + branch: fix "copy" to never touch HEAD >> + branch: add a --copy (-c) option to go with --move (-m) >> + branch: add test for -m renaming multiple config sections >> + config: create a function to format section headers >> >> "git branch" learned "-c/-C" to create and switch to a new branch >> by copying an existing one. > > s/and switch to //, I believe, after your finishing patch. Thanks for careful reading.
Re: What's cooking in git.git (Sep 2017, #06; Fri, 29)
On 29 September 2017 at 06:34, Junio C Hamanowrote: > > * sd/branch-copy (2017-09-24) 4 commits > (merged to 'next' on 2017-09-28 at a6eceefa02) > + branch: fix "copy" to never touch HEAD > + branch: add a --copy (-c) option to go with --move (-m) > + branch: add test for -m renaming multiple config sections > + config: create a function to format section headers > > "git branch" learned "-c/-C" to create and switch to a new branch > by copying an existing one. s/and switch to //, I believe, after your finishing patch.
Re: What's cooking in git.git (Sep 2017, #06; Fri, 29)
Derrick Stoleewrites: > On 9/29/2017 12:34 AM, Junio C Hamano wrote: >> * ds/find-unique-abbrev-optim (2017-09-19) 4 commits >> - SQUASH??? >> - sha1_name: parse less while finding common prefix >> - sha1_name: unroll len loop in find_unique_abbrev_r() >> - sha1_name: create perf test for find_unique_abbrev() > > I'll re-roll my patch on Monday if reviews have stabilized. I think I > understand your comments this time (especially around 32-bit ints). Will look forward to seeing them. > What does "SQUASH???" mean? Is that why there are three meaningful > commits in this note, despite my five-commit patch? Would you like me > to squash the commits in v3? These are found on 'pu' branch; you can check output from git log --oneline --first-parent origin/master..origin/pu to see where ds/find-unique-abbrev-optim topic was merged, e.g. $ git log --oneline --first-parent origin/master..origin/pu | grep ds/fi d8c0323166 Merge branch 'ds/find-unique-abbrev-optim' into jch and you'll find these four commits with: $ git log -p origin/master..d8c0323166^2 I knew you had more patches, but I looked at the first three, found a few glitches that I knew will have to be rerolled, and stopped looking at the remainder of the series at that point (not because I felt the topic was helpless, but because I needed to switch my attention to other topics), so that is why the only three from the beginning is queued there. Then I found that with these three, the tree does not even compile, but I wanted to make sure that 'pu' at least builds before I push it out, so I created another commit on top of these three patches as a fix-up to make it compile, so that I can merge the topic to 'pu'. This is done in the hope that it would help contributors more (by showing a small fix that needs to be squashed into relevant patches when the topic is updated and re-sent) than plain dropping a topic that does not compile or pass test on the floor. So that is what a SQUASH??? commit at the tip of some topics mean. Thanks.
Re: What's cooking in git.git (Sep 2017, #06; Fri, 29)
On Fri, Sep 29, 2017 at 6:08 AM, Derrick Stoleewrote: > Hi Junio, > > On 9/29/2017 12:34 AM, Junio C Hamano wrote: >> >> * ds/find-unique-abbrev-optim (2017-09-19) 4 commits >> - SQUASH??? >> - sha1_name: parse less while finding common prefix >> - sha1_name: unroll len loop in find_unique_abbrev_r() >> - sha1_name: create perf test for find_unique_abbrev() > > > I'll re-roll my patch on Monday if reviews have stabilized. I think I > understand your comments this time (especially around 32-bit ints). > Since I'm new to the list, I'm not sure what the change in messages > means here. > > What does "SQUASH???" mean? Is that why there are three meaningful commits > in this note, despite my five-commit patch? Would you like me to squash the > commits in v3? If you fetch from github/gitster/git, there is a branch 'ds/find-unique-abbrev-optim' containing four commits; three by you, one by Junio. This one commit is titled 'SQUASH???' as Junio did not want to write out what the commit is doing (e.g. fixing a typo, a memleak, or indentation or other small detail that he observed) You want to take the content of the commit and add it to one of yours, where appropriate. > > Thanks, > -Stolee
Re: What's cooking in git.git (Sep 2017, #06; Fri, 29)
Hi Junio, On 9/29/2017 12:34 AM, Junio C Hamano wrote: * ds/find-unique-abbrev-optim (2017-09-19) 4 commits - SQUASH??? - sha1_name: parse less while finding common prefix - sha1_name: unroll len loop in find_unique_abbrev_r() - sha1_name: create perf test for find_unique_abbrev() I'll re-roll my patch on Monday if reviews have stabilized. I think I understand your comments this time (especially around 32-bit ints). Since I'm new to the list, I'm not sure what the change in messages means here. What does "SQUASH???" mean? Is that why there are three meaningful commits in this note, despite my five-commit patch? Would you like me to squash the commits in v3? Thanks, -Stolee
Re: What's cooking in git.git (Sep 2017, #06; Fri, 29)
On Fri, 2017-09-29 at 13:34 +0900, Junio C Hamano wrote: > > * ic/fix-filter-branch-to-handle-tag-without-tagger (2017-09-22) 4 > commits > (merged to 'next' on 2017-09-25 at c7550033df) > + filter-branch: use hash-object instead of mktag > + filter-branch: stash away ref map in a branch > + filter-branch: preserve and restore $GIT_AUTHOR_* and > $GIT_COMMITTER_* > + filter-branch: reset $GIT_* before cleaning up > > "git filter-branch" cannot reproduce a history with a tag without > the tagger field, which only ancient versions of Git allowed to be > created. This has been corrected. This set of patches also includes the new --state-branch option to allow you to do incremental conversions. Ian.