8000 Comparing gokcehan:master...vivainio:master · gokcehan/lf · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gokcehan/lf
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: vivainio/lf
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 18 commits
  • 6 files changed
  • 1 contributor

Commits on Mar 5, 2026

  1. fix: hide dot files on Windows when hidden mode is off

    Mirrors Linux behavior where files starting with '.' are hidden
    by default via gDefaultHiddenFiles = []string{".*"}.
    vivainio committed Mar 5, 2026
    Configuration menu
    Copy the full SHA
    d436ea6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55ce251 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc3c04d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e9fcebb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6bbbd79 View commit details
    Browse the repository at this point in the history
  6. trigger workflows

    vivainio committed Mar 5, 2026
    Configuration menu
    Copy the full SHA
    c889e17 View commit details
    Browse the repository at this point in the history
  7. fix: use -c instead of /c as shellflag for non-cmd shells on Windows

    When the shell is set to sh, bash, pwsh, or any other non-cmd shell
    on Windows, the default shellflag /c is invalid. Unix-style shells and
    PowerShell both require -c (short for -Command in PowerShell, standard
    flag in POSIX shells).
    
    If the user has explicitly set shellflag to something other than /c,
    that value is respected as-is. Only the cmd.exe default /c is replaced.
    vivainio committed Mar 5, 2026
    Configuration menu
    Copy the full SHA
    f010c8f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9d783d2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5c97346 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    924ddc8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b817dd9 View commit details
    Browse the repository at this point in the history
  12. fix: run previewer through shell on Windows for non-native scripts

    On Windows, shell scripts (e.g. sh/bash scripts with a shebang) cannot
    be executed directly by the OS. When the previewer has no native Windows
    extension (.exe, .cmd, .bat), lf now runs it via the configured shell
    (e.g. `sh preview path w h x y mode`) instead of exec-ing it directly.
    
    Native executables are unaffected.
    vivainio committed Mar 5, 2026
    Configuration menu
    Copy the full SHA
    3c239b6 View commit details
    Browse the repository at this point in the history
  13. fix: convert backslashes in previewer path when running via sh on Win…

    …dows
    
    sh (Git Bash/MSYS2) cannot resolve Windows-style backslash paths when
    used as a script filename argument. Convert backslashes to forward
    slashes before passing the previewer path to sh.
    vivainio committed Mar 5, 2026
    Configuration menu
    Copy the full SHA
    472d8fe View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    08a8961 View commit details
    Browse the repository at this point in the history
  15. fix: only run previewer via sh on Windows when file has a shebang

    Previously any file without a native extension (.exe, .cmd, .bat) was
    run through sh. Now we peek at the first two bytes to check for a #!
    shebang, so native binaries without extensions are executed directly.
    vivainio committed Mar 5, 2026
    Configuration menu
    Copy the full SHA
    82b023f View commit details
    Browse the repository at this point in the history
  16. refactor: extract scriptCommand for shebang-aware execution on Windows

    Rename previewCommand to scriptCommand and apply it to both the
    previewer and cleaner calls in nav.go. Both are user-configured
    scripts that may have a shebang and need the same treatment.
    vivainio committed Mar 5, 2026
    Configuration menu
    Copy the full SHA
    3c5e4f4 View commit details
    Browse the repository at this point in the history
  17. fix: use POSIX shell allowlist for shebang detection on Windows

    Replace the broad "not cmd" check with an explicit allowlist of
    POSIX-compatible shells (sh, bash, zsh, dash). This prevents pwsh
    and other non-POSIX shells from being used to run shebang scripts.
    vivainio committed Mar 5, 2026
    Configuration menu
    Copy the full SHA
    e9c2623 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d25f6a1 View commit details
    Browse the repository at this point in the history
Loading
0