Comments (12)
Interesting. Could you post the result from running git rev-parse --show-toplevel
in this directory? And could you try running PyGitUp from Windows' cmd.exe
?
from pygitup.
Under cmd.exe and powershell.exe it seems to work.
from pygitup.
Okay, what's the result of git rev-parse --show-toplevel
on Cygwin, CMD and Powershell?
from pygitup.
Powershell:
D:/_P/(obscured)/SW/50_Implementation
Cygwin:
/cygdrive/d/_P/(obscured)/SW/50_Implementation
git rev-parse --git-dir
yields:
Powershell:
D:/Git_repos/out_of_tree/repo_name.git
Cygwin:
/cygdrive/d/Git_repos/out_of_tree/repo_name.git
from pygitup.
Just out of curiosity, what happens, if you use /cygdrive/d/Git_repos/out_of_tree/repo_name.git
in your .git
file instead of D:/Git_repos/out_of_tree/repo_name.git
?
from pygitup.
@RedX2501 Is this still relevant?
from pygitup.
Tried it out with 1.4.0 and still the same behaviour.
Traceback (most recent call last):
File "/usr/bin/git-up", line 9, in <module>
load_entry_point('git-up==1.4.0', 'console_scripts', 'git-up')()
File "/usr/lib/python2.7/site-packages/PyGitUp/gitup.py", line 599, in run
gitup = GitUp()
File "/usr/lib/python2.7/site-packages/PyGitUp/gitup.py", line 156, in __init__
odbt=GitCmdObjectDB)
File "/usr/lib/python2.7/site-packages/git/repo/base.py", line 165, in __init__
raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: /cygdrive/d/(...)Implementation
Output with a cygwin path produces a correct git-up error message:
Can't update your repo because it doesn't has any branches with tracking information.
from pygitup.
Output with a cygwin path produces a correct git-up error message:
You mean when using a cygwin path in the .git
file?
from pygitup.
Yes
from pygitup.
Which console did you use? PowerShell or the Cygwin shell? If it's with both, this problem is fixed, isn't it?
from pygitup.
Just a quick heads up: GitPython v2.1.0 promises to improve Cygwin support (see this PR). It seems to improve path handling with Cygwin so maybe it fixes this problem. Could you update GitPython (pip install -U GitPython
) and see if the problem is fixed?
from pygitup.
Closing due to inactivity, feel free to re-open if this is still an issue.
from pygitup.
Related Issues (20)
- Does not seem to rebase current branch with Master HOT 2
- git-up parsing remotes from .git/config incorrectly HOT 3
- Compatibility problem with Python 3.9? HOT 16
- Please consider relaxing the release restriction on colorama HOT 1
- `git up` should probably obey `pull.ff-only = true` and maybe even `branch.BR.mergeOptions` too
- stderr: 'fatal: no such remote or remote group: https: HOT 2
- `git up` Fetching origin interrupted emits backtrace HOT 3
- If using Python 3 and run from within SourceTree Custom Actions, throws "RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment." HOT 8
- Add option to update submodules as well HOT 1
- stderr: '.git/rebase-apply/patch:1153: new blank line at EOF. HOT 2
- Crash under cygwin with configured git-up.rebase.log-hook HOT 1
- Fast-forward without checking out the branch HOT 4
- Incompatible with Click 7.0.0, should restrict dependency to <7.0.0 HOT 1
- Only stash changes if it's actually needed HOT 3
- git: 'up' is not a git command. HOT 3
- How to install using `--user` option? HOT 4
- `git up` doesn't seem to mention the currently checked out branch unless it appears in a `branch` entry HOT 4
- Re-enable code coverage uploading HOT 1
- FYI - Intent to package for Fedora HOT 1
- git-up will not fast-forward with git > 2.26 when using rebase HOT 2
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 pygitup.