Skip to content

Weekly Digest (1 December, 2019 - 8 December, 2019) #2423

Closed
@weekly-digest

Description

@weekly-digest

Here's the Weekly Digest for git-for-windows/git:


ISSUES

Last week 1 issue was created.
It is closed now.

CLOSED ISSUES

❤️ #2422 Synchronize built-in add -i/-p patches with upstream, by dscho

NOISY ISSUE

🔈 #2422 Synchronize built-in add -i/-p patches with upstream, by dscho
It received 1 comments.


PULL REQUESTS

Last week, 1 pull request was created, updated or merged.

MERGED PULL REQUEST

Last week, 1 pull request was merged.
💜 #2422 Synchronize built-in add -i/-p patches with upstream, by dscho


COMMITS

Last week there were 5 commits.
🛠️ Merge pull request #2422 from dscho/add-i-p-updates Synchronize built-in add -i/-p patches with upstream by dscho
🛠️ squash! built-in add -i: implement the update command built-in add -i: implement the update command After status and help, it is now time to port the update command to C, the second command that is shown in the main loop menu of git add -i. This git add -i command is the first one which lets the user choose a subset of a list of files, and as such, this patch lays the groundwork for the other commands of that category: - It teaches the print_file_item() function to show a unique prefix if we found any (the code to find it had been added already in the previous patch where we colored the unique prefixes of the main loop commands, but that patch uses the print_command_item() function to display the menu items). - This patch also adds the help text that is shown when the user input to select items from the shown list could not be parsed. - As get_modified_files() clears the list of files, it now has to take care of clearing the full prefix_item_list lest the sorted and selected fields go stale and inconsistent. Signed-off-by: Johannes Schindelin johannes.schindelin@gmx.de by dscho
🛠️ squash! built-in add -i: prepare for multi-selection commands built-in add -i: prepare for multi-selection commands The update, revert and add-untracked commands allow selecting multiple entries. Let's extend the list_and_choose() function to accommodate those use cases. Signed-off-by: Johannes Schindelin johannes.schindelin@gmx.de by dscho
🛠️ fixup! built-in add -i: implement the patch command This change was introduced in v2 of the PR at https://github.com/gitgitgadget/git/pull/171. Signed-off-by: Johannes Schindelin johannes.schindelin@gmx.de by dscho
🛠️ squash! built-in add -i: allow filtering the modified files list built-in add -i: allow filtering the modified files list In the update command of git add -i, we are primarily interested in the list of modified files that have worktree (i.e. unstaged) changes. At the same time, we need to determine also the staged changes, to be able to produce the full added/deleted information. The Perl script version of git add -i has a parameter of the list_modified() function for that matter. In C, we can be a lot more precise, using an enum. The C implementation of the filter also has an easier time to avoid unnecessary work, simply by using an adaptive order of the diff-index and diff-files phases, and then skipping files in the second phase when they have not been seen in the first phase. Seeing as we change the meaning of the phase field, we rename it to mode to reflect that the order depends on the exact invocation of the git add -i command. Signed-off-by: Johannes Schindelin johannes.schindelin@gmx.de by dscho


CONTRIBUTORS

Last week there was 1 contributor.
👤 dscho


STARGAZERS

Last week there were 14 stagazers.
SeanTo
Tshoes
ohlookitsderpy
jackPanyj
HugeCrab
wait10000y
ArloJamesBarnes
DanielPetelin
sangvamp
ryuukibeat
bionfan
TASMONEY
ELMERzark
lpyedge
You all are the stars! 🌟


RELEASES

Last week there were no releases.


That's all for last week, please 👀 Watch and Star the repository git-for-windows/git to receive next weekly updates. 😃

You can also view all Weekly Digests by clicking here.

Your Weekly Digest bot. 📆

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions