qgit icon indicating copy to clipboard operation
qgit copied to clipboard

Open folder in file manager with QGit

Open tibirna opened this issue 6 years ago • 2 comments

Submitted by Mario Blättermann on 2014-02-21:

currently QGit seems to don’t have any command line options. It is impossible to submit a folder name (which contains a Git repo). QGit will always opened with an empty view. It should be possible to type the following:

[mariobl@localhost Debian-Git]$ qgit ./manpages-de

All it needs is the appropriate command line option to open folders and the associated *.desktop file which is for the file manager’s context menu.

I’m using Fedora 20 x86_64 with QGit v2.5.

tibirna avatar May 21 '18 14:05 tibirna

If this is desired, I can work on it (I'll note qgit doesn't do much command-line processing right now, so qgit --help isn't helpful either). Shouldn't be more than a couple of hours. Presumably the trick is to jam -C <dir> into the git-log command at the right spot.

@tibirna: I also see inconsistent space/tab indenting .. is that something you'd take PRs for to make consistent (looks like tabs are in the majority) ?

adriaandegroot avatar May 25 '18 11:05 adriaandegroot

Hello Adriaan

Thanks a lot for your offer. Any bit of time you can invest into this is very much welcome. Qgit didn't age well and I have quite a bit of work. If you decide to look at the command-line options issues, I'll make sure not to hinder/conflict-with your changes.

Thanks again.

tibirna avatar May 26 '18 16:05 tibirna