-
Notifications
You must be signed in to change notification settings - Fork 317
solve the problem : git gui No working directory #302 #321
Conversation
if we right click git gui in the git repository directory (技术), it will tell No working directory.
MSysGit - the development behind Git for Windows » git #263 FAILURE |
so ? |
builtin/rev-parse.c:16:19: fatal error: winnt.h: No such file or directory |
@dscho now use platform-independent code. BuildHive wil build Okay. Can you deal the pull request? |
MSysGit - the development behind Git for Windows » git #265 FAILURE |
@dscho can you tell me why build hive say there's a problem ? |
failed 7 among 51 test(s)but the failed test is not related with the new code. |
MSysGit - the development behind Git for Windows » git #269 SUCCESS |
Could you check if this solves your problem (works for cp1252, but I cannot check cp936):
|
Do you mean add the following code before " if {$::_trace}" ? set fd [eval [list git_read] $args]
fconfigure $fd -translation binary -encoding utf-8
set result [string trimright [read $fd] "\n"]
close $fd I try it, but it fails. |
this only for work for git gui command of right key menu. |
Yes, and remove everything else, so that proc git looks like this:
Have you tried |
Do you have some IM tools? Can we talk in IM ? |
Okay. I will try it again. wait for a moment. |
Um. You are right. It works. Thanks very much. |
But we can use file to save the output. then reencode it for tcl.
OK, thanks for testing. So could you please revert the other stuff in the PR? I.e. reset your branch to master, just apply the one commit with the relevant change in git-gui.sh, then push again? |
Okay. I have pushed it. You can see it now |
Hmm...I still see four commits, including unrelated changes in builtin/rev-parse.c, introducing an unused variable etc... |
Okay. I will revert the changes. |
@kblees I made a new pull request. |
MSysGit - the development behind Git for Windows » git #270 SUCCESS |
@cloudchou please do not do this. You can easily update Pull Requests by force-pushing to the same branch. If the description no longer matches the content of the Pull Request, it is easy to edit. Starting a new Pull Request instead of updating the Pull Request just makes it harder to figure out the context of the changes. |
solve the problem:
if we right click git gui in the git repository directory (技术), it will tell No working directory.
issue link: git gui No working directory #302