We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
git-for-windows/git
microsoft/git
$ git --version --build-options git version 2.40.1.vfs.0.2 cpu: x86_64 built from commit: 59bc9667c84164a4ad879d9b424687ca631f01b3 sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon
Scalar
macOS 13.4.1
bash
#!/bin/bash start=$(date +%s) output=$(/usr/local/bin/git checkout 2>&1) end=$(date +%s) diff=$((end - start)) echo "git $@ | cost: $diff s"
It completes just as quickly as running git checkout directly
when I use /usr/local/bin/git checkout in the script, it takes 6 s, but when I try to save the output to a variable, it takes 45 s
/usr/local/bin/git checkout
I also change /usr/local/bin/git to /usr/bin/git to save the output, and Apple-git finish it immediately.
If the problem was occurring with a specific repository, can you specify the repository?
The text was updated successfully, but these errors were encountered:
Is this really reproducible? I would expect the git checkout to be relatively slow when e.g. FSMonitor just started up, but to be fast otherwise.
git checkout
Sorry, something went wrong.
No branches or pull requests
or closed issue matching
what I'm seeing, including in the
git-for-windows/git
tracker.Setup
microsoft/git
are you using? Is it 32-bit or 64-bit?64-bit
Scalar
Details
bash
Minimal, Complete, and Verifiable example
this will help us understand the issue.
It completes just as quickly as running git checkout directly
when I use
/usr/local/bin/git checkout
in the script, it takes 6 s, but when I try to save the output to a variable, it takes 45 sI also change /usr/local/bin/git to /usr/bin/git to save the output, and Apple-git finish it immediately.
If the problem was occurring with a specific repository, can you specify
the repository?
The text was updated successfully, but these errors were encountered: