tibirna / qgit

Official git repository for QGit.
Other
174 stars 68 forks source link

Open folder in file manager with QGit #26

Open tibirna opened 6 years ago

tibirna commented 6 years ago

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.

adriaandegroot commented 6 years ago

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) ?

tibirna commented 6 years ago

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.