Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird behaviour when redirecting stdout of git hub forks, apparently repo specific too. #256

Open
andreas-kupries opened this issue Jan 10, 2019 · 0 comments

Comments

@andreas-kupries
Copy link

Installed git hub is commit a4b5580678f18a9f91c0783250f2850383be58ec.

When I redirect stdout for a specific repository git hub forks exits with status 1.
For a different repository the status is 0.
When not redirecting stdout the problematic repository is not a problem anymore.

Removing the --git-dir option I used and the behaviour is all the same.
(The CWD is outside any git checkout)

As such I am suspecting that git hub forks has an issue with the repository itself, and not the local checkout for it. Trying the command on a different machine and I see the same issue.

Something in the intersection of the specific repository (mattijk/consio) and stdout a terminal vs redirected to a file for git hub forks is trouble.

Here is my session for one the boxes, still all with --git-dir.

aku@tagetarl:~/Data/My/Mirror> echo $TERM
xterm

aku@tagetarl:~/Data/My/Mirror> 2> E > L git --git-dir /data/Mirror/tcl/store/330/source.git hub forks --raw flightaware/TclProDebug ; echo $?
0

aku@tagetarl:~/Data/My/Mirror> 2> E > L git --git-dir /data/Mirror/tcl/store/733/source.git hub forks --raw mattijk/consio ; echo $?
1

aku@tagetarl:~/Data/My/Mirror> 2> E git --git-dir /data/Mirror/tcl/store/330/source.git hub forks --raw flightaware/TclProDebug ; echo $?
apnadkarni/TclProDebug
h0nza/TclProDebug
0

aku@tagetarl:~/Data/My/Mirror> 2> E git --git-dir /data/Mirror/tcl/store/733/source.git hub forks --raw mattijk/consio ; echo $?
0

@andreas-kupries andreas-kupries changed the title Weird behaviour when redirecting stdout, possibly repo/checkout specific Weird behaviour when redirecting stdout of git hub forks, apparently repo specific too. Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant