fastlane-plugin-cryptex icon indicating copy to clipboard operation
fastlane-plugin-cryptex copied to clipboard

Git pager causing a problem with branch checkout

Open johnknapprs opened this issue 6 years ago • 2 comments

This is something I noticed awhile back while using Homebrew's git. Using Cryptex would hang during branch checkout and never complete. At the time, reverting to the macOS git version fixed the problem for me.

With the release of Xcode 10, Apple has updated the system git to git version 2.17.1 (Apple Git-112) and I've begun seeing the issue when running locally.

I believe this is being caused by the git pager as adding GIT_PAGER=cat to my shell corrects the issue.

I would be happy to open a PR to address this issue. Not sure how you think it should be corrected though. It does not appear to happen in my CI environment (Jenkins), only when running manually on a local machine.

Maybe a ENV['GIT_PAGER'] = 'cat' if UI.interactive? type line so it doesn't increase the risk of impacting other CI type environments?

Thank you for your work on this plugin!

johnknapprs avatar Sep 19 '18 16:09 johnknapprs

I had the same issue @johnknapprs, thanks for the workaround with the GIT_PAGER

azlekov avatar Nov 20 '18 11:11 azlekov

Has the same issue, export GIT_PAGER=cat fixed it

noway avatar Mar 31 '23 03:03 noway