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

[PATCH 0/2] GitSVN: Multi line support of ignore-path, include-paths and skiping of empty commits

From
LGLukas Pupka-Lipinski via GitGitGadget <gitgitgadget@gmail.com>
Date
Sep 11, 2020, 08:00 UTC
Message-ID
<pull.834.git.git.1599811217.gitgitgadget@gmail.com>

[PATCH]v3 GitSVN: Multi line support of ignore-path, include-paths and skiping of empty commits

I used the ignore-paths option to ignore a lot of stuff I don’t need. The ignore pattern works well, but it could and up in empty commits. So just the message without any modifications / changes. The patch below skip a commit if all changes are ignored by the ignore-paths option. In order to use this feature I includes the option to read configuration for ignore-path, include-paths in several lines. So that the user is not limited by the max. char. per line definition. In Addition this patch includes the optimizations which are mansion from your side.

Regarding the subrouties comments i oriented by this example: https://www.perlmonks.org/?node_id=29905

Changes in v3:
 * Changed the code format (spaces etc.)
 * Wrap reg-expression by (?:<expression1>|<expression2>)
 * Removed useless variable init
 * Removed useless check.
Lukas (2):
  svn: added: Multi line support for ignore-paths
  sv: added: Skip commit if all files are ignored
 perl/Git/SVN.pm         | 21 +++++++++++++++++++++
 perl/Git/SVN/Fetcher.pm | 42 ++++++++++++++++++++++++++++++++++++-----
 perl/Git/SVN/Ra.pm      |  2 ++
 3 files changed, 60 insertions(+), 5 deletions(-)
base-commit: 274b9cc25322d9ee79aa8e6d4e86f0ffe5ced925
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-834%2Flukaspupkalipinski%2Fmaster-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-834/lukaspupkalipinski/master-v1
Pull-Request: https://github.com/git/git/pull/834
-- 
gitgitgadget
Next: Lukas via GitGitGadget
Message 1 of 3 in “GitSVN: Multi line support of ignore-path, include-paths and skiping of empty commits”
  1. 0/2 GitSVN: Multi line support of ignore-path, include-paths and skiping of empty commitsLukas Pupka-Lipinski via GitGitGadget, Sep 11, 2020
  2. 1/2 svn: added: Multi line support for ignore-pathsLukas via GitGitGadget, Sep 11, 2020
  3. 2/2 sv: added: Skip commit if all files are ignoredLukas via GitGitGadget, Sep 11, 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.