[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/12] scripts: Detect git worktrees for get_maintainer.pl --git
From: |
Paolo Bonzini |
Subject: |
[PULL 01/12] scripts: Detect git worktrees for get_maintainer.pl --git |
Date: |
Tue, 19 Nov 2019 17:08:37 +0100 |
From: Alexey Kardashevskiy <address@hidden>
Recent git versions support worktrees where .git is not a directory but
a file with a path to the .git repository; however the get_maintainer.pl
script only recognises the .git directory, let's fix it.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: Greg Kurz <address@hidden>
Reviewed-by: Stefano Garzarella <address@hidden>
Tested-by: Stefano Garzarella <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
scripts/get_maintainer.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 71415e3..27991eb 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -81,7 +81,7 @@ my %VCS_cmds;
my %VCS_cmds_git = (
"execute_cmd" => \&git_execute_cmd,
- "available" => '(which("git") ne "") && (-d ".git")',
+ "available" => '(which("git") ne "") && (-e ".git")',
"find_signers_cmd" =>
"git log --no-color --follow --since=\$email_git_since " .
'--format="GitCommit: %H%n' .
--
1.8.3.1
- [PULL 00/12] Misc patches for QEMU 4.2-rc, Paolo Bonzini, 2019/11/19
- [PULL 02/12] microvm: fix memory leak in microvm_fix_kernel_cmdline, Paolo Bonzini, 2019/11/19
- [PULL 01/12] scripts: Detect git worktrees for get_maintainer.pl --git,
Paolo Bonzini <=
- [PULL 03/12] target/i386: add PSCHANGE_NO bit for the ARCH_CAPABILITIES MSR, Paolo Bonzini, 2019/11/19
- [PULL 04/12] target/i386: Export TAA_NO bit to guests, Paolo Bonzini, 2019/11/19
- [PULL 05/12] hw/i386: Fix compiler warning when CONFIG_IDE_ISA is disabled, Paolo Bonzini, 2019/11/19
- [PULL 06/12] vfio: vfio-pci requires EDID, Paolo Bonzini, 2019/11/19
- [PULL 07/12] docs/microvm.rst: fix alignment in "Limitations", Paolo Bonzini, 2019/11/19
- [PULL 08/12] docs/microvm.rst: add instructions for shutting down the guest, Paolo Bonzini, 2019/11/19
- [PULL 09/12] hw/i386: Move save_tsc_khz from PCMachineClass to X86MachineClass, Paolo Bonzini, 2019/11/19
- [PULL 10/12] scsi: deprecate scsi-disk, Paolo Bonzini, 2019/11/19
- [PULL 11/12] Revert "mc146818rtc: fix timer interrupt reinjection", Paolo Bonzini, 2019/11/19
- [PULL 12/12] mc146818rtc: fix timer interrupt reinjection again, Paolo Bonzini, 2019/11/19