-
-
Notifications
You must be signed in to change notification settings - Fork 587
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
Use default shell instead of bash on Unix-like OS #2343
Use default shell instead of bash on Unix-like OS #2343
Conversation
1a3f96d
to
73343ff
Compare
@extrawurst @mtsgrd Do you mind taking a look? Thanks. |
I suggest you run |
73343ff
to
524e3d8
Compare
@extrawurst thanks for letting me know. It passes now locally. |
524e3d8
to
e868a4f
Compare
@yerke thank you for your contribution ❤️ |
@extrawurst There’s a recent commit in |
I think it is related. My initial PR was based on what I saw in |
My login-shell isn't posix compliant. git can successfully call the hooks, while gitui fails to do so, because of this patch. If I'm not mistaken (i hate reading c code and i don't know the git codebase) it seems like git uses /bin/sh per default.
|
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [extrawurst/gitui](https://github.com/extrawurst/gitui) | minor | `v0.26.3` -> `v0.27.0` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>extrawurst/gitui (extrawurst/gitui)</summary> ### [`v0.27.0`](https://github.com/extrawurst/gitui/releases/tag/v0.27.0) [Compare Source](extrawurst/gitui@v0.26.3...v0.27.0) **new: manage remotes** ![add-remote](assets/add-remote.png) ##### Breaking Changes - use default shell instead of bash on Unix-like OS \[[@​yerke](https://github.com/yerke)] ([#​2343](extrawurst/gitui#2343)) ##### Added - add popups for viewing, adding, updating and removing remotes \[[@​robin-thoene](https://github.com/robin-thoene)] ([#​2172](extrawurst/gitui#2172)) - support for `Copy Path` action in WSL \[[@​johnDeSilencio](https://github.com/johnDeSilencio)] ([#​2413](extrawurst/gitui#2413)) - help popup scrollbar \[[@​wugeer](https://github.com/wugeer)] ([#​2388](extrawurst/gitui#2388)) ##### Fixes - respect env vars like `GIT_CONFIG_GLOBAL` ([#​2298](extrawurst/gitui#2298)) - Set `CREATE_NO_WINDOW` flag when executing Git hooks on Windows ([#​2371](extrawurst/gitui#2371)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMzcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEzNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
This Pull Request fixes/closes #2317.
It changes the following:
find_default_unix_shell()
.Why we need it? macOS uses zsh by default now.
I followed the checklist:
make check
without errors