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

[PATCH 0/2] git-compat-util: move convert_slashes from compat/mingw.h and rename it

From
Mohit Marathe via GitGitGadget <gitgitgadget@gmail.com>
Date
Mar 18, 2024, 12:47 UTC
Message-ID
<pull.1699.git.1710766062.gitgitgadget@gmail.com>
Hi all,

This series aims to complete a #leftoverbits: https://lore.kernel.org/ git/xmqqzfw43xad.fsf@gitster.g/ by moving convert_slashes() to git-compat-util.h and renaming it to change_path_separators().

I appreciate your review and feedback on this patch series.
Best regards, Mohit Marathe
Mohit Marathe (2):
  git-compat-util: migrate `convert_slashes()` from compat/mingw.h
  test-lib: replace repeated code logic with an existing helper
 abspath.c               | 4 ++--
 compat/mingw.c          | 4 ++--
 compat/mingw.h          | 6 ------
 git-compat-util.h       | 7 +++++++
 path.c                  | 2 +-
 t/unit-tests/test-lib.c | 9 +++------
 6 files changed, 15 insertions(+), 17 deletions(-)
base-commit: 2953d95d402b6bff1a59c4712f4d46f1b9ea137f
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1699%2Fmohit-marathe%2Fconvert-slashes-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1699/mohit-marathe/convert-slashes-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1699
-- 
gitgitgadget
Next: Mohit Marathe via GitGitGadget
Message 1 of 6 in “git-compat-util: move convert_slashes from compat/mingw.h and rename it”
  1. 0/2 git-compat-util: move convert_slashes from compat/mingw.h and rename itMohit Marathe via GitGitGadget, Mar 18, 2024
  2. 1/2 git-compat-util: migrate `convert_slashes()` from compat/mingw.hMohit Marathe via GitGitGadget, Mar 18, 2024
  3. Junio C HamanoMar 18, 2024
  4. 2/2 test-lib: replace repeated code logic with an existing helperMohit Marathe via GitGitGadget, Mar 18, 2024
  5. Junio C HamanoMar 18, 2024
  6. Josh SteadmonApr 11, 2024

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.