smithx / far Goto Github PK
View Code? Open in Web Editor NEWFar Manager plugin shows git branch at command prompt
Far Manager plugin shows git branch at command prompt
с давних пор Far умеет работать с немонтированными томами, а с некоторых пор такие тома доступны из меню выбора диска (если нажать CtrlH).
путь таких томов выглядит как-то так: \\?\Volume{7e734d22-3b75-4eb5-9446-bab0d550f50c}
.
внезапно выяснилось, что GitBranch не рассчитывает на подобные пути. после входа в любую папку на таком томе Far с загруженным GitBranch перестаёт реагировать на клавиатуру (и мышь), закрывать только по крестику. возможно, через полчаса он и отмораживается, такие опыты я не проводил.
Far 3.0.5885.0 x64 (переносимая установка), GitBranch 3.0.21 x64. Работает на домашнем компьютере, не работает на рабочем.
╔════════════════════ Error ════════════════════╗
║ Error loading plugin ║
║ I:\ConEmu\Far\Plugins\GitBranch\gitbranch.dll ║
╟───────────────────────────────────────────────╢
║ 0x0000007E - Не найден указанный модуль. ║
╟───────────────────────────────────────────────╢
║ { OK } ║
╚═══════════════════════════════════════════════╝
On my computer I have a few branches checkouted using the git worktree
command. The issue is that plugin does not show the name of such branches.
In case when working trees are used, the main source tree contains full .git
folder and the worktree folder contains the .git
file which is a link to main .git
folder.
Following is an example of working tree configuration on my computer:
(topic/issue_123) $ git worktree list
/c/Repos/repos/ulp 125846b [topic/issue_123]
/c/Repos/repos/ulp-master d25daab [master]
/c/Repos/repos/ulp
is main folder
The content of the /c/Repos/repos/ulp-master/.git
file
gitdir: /c/Repos/repos/ulp/.git/worktrees/ulp-master
List of branches
(topic/issue_123) $ git branch
+ master
* topic/issue-123
topic/issue-82
Ветку видеть хорошо, а с последним тэгом в ветке было бы ещё лучше.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.