-
Notifications
You must be signed in to change notification settings - Fork 28
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
Hangs during payu clone #536
Comments
@JhanSrbinovsky provided more detail:
diff .gitconfig .gitconfig.noDiffTool.payu
— .gitconfig 2024-11-11 12:38:49.536897000 +1100
+++ .gitconfig.noDiffTool.payu 2024-08-28 16:14:53.078837000 +1000
@@ -5,9 +5,5 @@
tool = vimdiff
[credential]
helper = cache --timeout 3600
-[difftool]
prompt = false
-[diff]
external = git_diff_wrapper
|
There are ways to ignore https://git-scm.com/docs/git#Documentation/git.txt-codeGITCONFIGGLOBALcode but there is important information contained therein that is used in populating some of the Or you can specify the diff tool to use and override user settings There doesn't seem to be a setting to override the diff tool in from GitPython https://gitpython.readthedocs.io/en/stable/reference.html?highlight=config#module-git.diff |
A work-around for Jhan (and anyone in a similar situation) might be to set the path to the global configuration (default is
or a path to a safe version of the config without the customisation
|
@JhanSrbinovsky reported an issue with the process hanging during a
payu clone
commandThe hang was occurring at the point where the updated metadata, with new UUID, was being committed
https://github.com/payu-org/payu/blob/master/payu/metadata.py#L264
Confusingly making the same change and doing a direct
git commit
from an interactive shell worked.The proximate cause seemed to be a
git
configuration customisation that invoked a custom program forgit diff
, such that this commandhttps://github.com/payu-org/payu/blob/master/payu/git_utils.py#L105
stalled.
Apologies for the lack of detail, perhaps @JhanSrbinovsky can add more, but I wonder if we can bypass any user customisations?
The text was updated successfully, but these errors were encountered: