Comments (6)
I edited the title and description
from gitnuro.
not sure where to put it, but gitnuro is currently not able to open repositories from within a subdir.
with git it's easy to find out whether you are in a subdir. so as a workaround i'm using this bash script:
#!/bin/bash
if [ $# -gt 0 ]; then
java -jar ~/bin/Gitnuro.jar $(cd $1 && git rev-parse --show-toplevel)
elif git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
java -jar ~/bin/Gitnuro.jar "$(git rev-parse --show-toplevel)"
else
java -jar ~/bin/Gitnuro.jar
fi
from gitnuro.
That should already be working unless you are using the Flatpak version, which has an open issue about it.
from gitnuro.
interesting, yes, i'm using flatpak. could you point to the bug?
I tried the jar now and it doesn't try to open the working directory as a repo, but that's easy to workaround with a custom start script.
The jar version also opens the same repo several times in separate tabs. i would expect, that it would just switch to the tab if it already exists.
from gitnuro.
Yes, it's something kinda intentional because under some circumastances having a repo opened twice can be useful.
The flatpak issue is this flathub/com.jetpackduba.Gitnuro#11
I forgot about it until recently, I have tried to fix the script but no much luck yet. I'll probably try again before the next release.
from gitnuro.
okey, fair enough :)
would be cool if you could put some command line options there to customise the behaviour. in the future this could serve e.g. for opening specific sessions etc.
also, there is no gitnuro --version or --help :)
from gitnuro.
Related Issues (20)
- Gitconfig username HOT 2
- Can "Rebase interactive" use origin date? HOT 1
- Resources sites (git-scm.com/flathub.org) have the wrong project link/URL. Getting site not found error in browser. HOT 1
- Add git-mergetool for resolving difficult merge conflicts HOT 2
- Select Multiple Changes HOT 5
- MFA Auth failed HOT 6
- Crash on starting JAR on NixOS 23.11 HOT 19
- Connects to 185.199.111.133 HOT 1
- Can't use GPG key HOT 12
- Remote authentication is not supported!!! HOT 7
- Custom Theme - Failed to parse selected theme JSON. HOT 4
- Selectively revert a comit HOT 1
- Add checksum file(s) HOT 4
- Change order of right sidebar HOT 3
- Add a setting for automatically pushing when commiting
- Checksum file is unusable HOT 2
- Can't connect gitnuro to github. HOT 2
- Ability to connect your github account to Gitnuro HOT 3
- Ability to see the diff between commits
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitnuro.