From 0fb56ce716090248ed4895aff69dd3953b00882f Mon Sep 17 00:00:00 2001 From: Sverre Rabbelier Date: Sat, 16 Jul 2011 15:03:30 +0200 Subject: git-remote-testgit: only push for non-local repositories Trying to push for local repositories will fail since there is no local checkout in .git/info/... to push from as that is only used for non-local repositories (local repositories are pushed to directly). This went unnoticed because the transport helper infrastructure does not check the return value of the helper. Signed-off-by: Sverre Rabbelier Signed-off-by: Junio C Hamano --- git-remote-testgit.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'git-remote-testgit.py') diff --git a/git-remote-testgit.py b/git-remote-testgit.py index b0c1e9b273..cdbc49495f 100644 --- a/git-remote-testgit.py +++ b/git-remote-testgit.py @@ -146,7 +146,9 @@ def do_export(repo, args): update_local_repo(repo) repo.importer.do_import(repo.gitdir) - repo.non_local.push(repo.gitdir) + + if not repo.local: + repo.non_local.push(repo.gitdir) COMMANDS = { -- cgit 1.2.3-korg /jgross/linux.git
jgross's fork of linux.gitJuergen Gross
aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-04-29 01:04:09 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-20 06:21:31 -0400
commita1040b0d42acf69bb4f6dbdc54c2dcd78eea1de5 (patch)
tree666224b6dacea24df002e09d3e1bbebb676b3471 /virt
parent28b85ae06f64bf1c1adea68a2fbb31dc40cc060e (diff)
downloadlinux-a1040b0d42acf69bb4f6dbdc54c2dcd78eea1de5.tar.gz
KVM: Don't set Accessed/Dirty bits for ZERO_PAGE