Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-compat-util: move convert_slashes from compat/mingw.h and rename it #1699

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 18, 2024

  1. git-compat-util: migrate convert_slashes() from compat/mingw.h

    This patch migrates the `convert_slashes` function to `git-compat-
    util.h` and renames it to `change_path_separators`.
    
    Signed-off-by: Mohit Marathe <[email protected]>
    mohit-marathe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    0157b1d View commit details
    Browse the repository at this point in the history
  2. test-lib: replace repeated code logic with an existing helper

    This patch replaces the code, that changes the path separators,
    with the already existing function `change_path_separators()`
    
    Signed-off-by: Mohit Marathe <[email protected]>
    mohit-marathe committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    8a730b6 View commit details
    Browse the repository at this point in the history