From patchwork Mon Aug 12 16:58:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Galvin X-Patchwork-Id: 13760864 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 502CC187844 for ; Mon, 12 Aug 2024 16:58:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723481914; cv=none; b=eRR1R7sY9ThMnStyutIadUphN0+zK57KO7y7fPeHX2502wH1CL5UtHjW8GKOXZrU89MWCLUHPspbQ87++wZZ1YgMIdl0sa2ar6FgXbHD9PUkQ8I73EqYnDja9JdK4mwuluc4UV9MvCdGdjABma9rfNfFp+FjVz14LRWX94KzAd4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723481914; c=relaxed/simple; bh=exqNXh8Hk86doeRfwVdefaEQsQngqrKm/z7NMUk4ff8=; h=Message-Id:In-Reply-To:References:From:Date:Subject:Content-Type: MIME-Version:To:Cc; b=ZiFzmZ4wDFFYjlAe9IOZrmaKsFiBNP1Mr8OW0b4NkDsm5FbBnHxxoRHh8i+vKoLv6q31/HRt8x1EtqYbIF0k0PhWmHgZ2HgqgXhgDT+1FrsjUSQnrfHTD/2IZ52xuxj+d2BdbWL8ts1PH29L+UxF71PzpdV837YzgQGtu9535XI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=c/4GUvH8; arc=none smtp.client-ip=209.85.218.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="c/4GUvH8" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a7b2dbd81e3so578605766b.1 for ; Mon, 12 Aug 2024 09:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723481911; x=1724086711; darn=vger.kernel.org; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :references:in-reply-to:message-id:from:to:cc:subject:date :message-id:reply-to; bh=PVH6vXku8VfPoVRonziqxPHn4t7VnDc7lwurJTAIF34=; b=c/4GUvH8Qj0ff7KnDzLKXlKs9c/zOFLFsMM+3WPUJWrDX1Z66eBl1nr4wXC4GKQmWW vF/yAFvnG1hNY/K+iUhHz0cdpfxSNzp1NmPouW/QBeQtOvI+79Q2c2Xe3bwNVAhekDP0 skt49Y+xxyAx2Lu3uXNBrHhmDh0r8043/dDvVfcA9QLy0/DRD9Vcg/WFYRwhpq5ijIiK QU40w7EXKSaByp+tmxyPBG2eM8ndXvNbiIPX5ZEazG1R+3sfPxXlAehZluAM686fsIB5 J+ZEk2f2l49sUt/wCQJFw0+4mOtSuh3D0gFiGNqbfuAAOzCWxa9mVkHNOhuMsrozShps Ct6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723481911; x=1724086711; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :references:in-reply-to:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PVH6vXku8VfPoVRonziqxPHn4t7VnDc7lwurJTAIF34=; b=vVm+vI9oCnRCjg5LI+Y7hB7/uTdg7wVyG2IGtfxmX94FpKt5q1VcGaXOYyAZYuH7FN NPBNn+IqPmw764/EjhigL9Ip13p+9Y0SJNlpW3sD1Rox53e+LA7gyK/D/UQhCoIfeEqG os/yoW5+0gwLXpL72zO3rbKtJUKhF87hNA/mYG0DfACzkM/s4OobDKfJ54Kj1QTutSGf sJ97QHBGLdy6i3J6dQxL5ZmyA+BD6zS+l3tXZGrKQ/vslz3nKDd5ByGRREONg9QQ5TQs IMgvniwXE9xP8ulwhfJcODNN+q9zXXS9PCUSSfiyN0+OjtAuU3A76FLT1qTtRx9Vm7+x K0wQ== X-Gm-Message-State: AOJu0Ywp5fPRuFkY0dAf10Ooup+j9f8usUKAE2Wz0EI9uZwrNkp7IML8 wdA6O6VOqbKzeor01ylWTiIuykL+EgmuXz5kunBqBkV+pP1K7xjujlvI4Q== X-Google-Smtp-Source: AGHT+IFj2WkK0e4sbS2sPqqy1GHEj0D9TWv6KRfs+PBOfzUwJ0uKcTQcgGYldTtQPpgo4gQStr5+QA== X-Received: by 2002:a17:906:fe45:b0:a72:50f7:3c6f with SMTP id a640c23a62f3a-a80ed1bba52mr88573566b.14.1723481910943; Mon, 12 Aug 2024 09:58:30 -0700 (PDT) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a80bb214441sm243699566b.186.2024.08.12.09.58.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Aug 2024 09:58:30 -0700 (PDT) Message-Id: <002750ea47a09d2f26c9c7b040c6730bc3f62b10.1723481908.git.gitgitgadget@gmail.com> In-Reply-To: References: Date: Mon, 12 Aug 2024 16:58:26 +0000 Subject: [PATCH v3 1/3] git-svn: add public property `svn:global-ignores` Fcc: Sent Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 To: git@vger.kernel.org Cc: Alex Galvin , Alex Galvin From: Alex Galvin From: Alex Galvin Subversion 1.8 added a new property `svn:global-ignores`. It contains a list of patterns used to determine what files should be ignored. If Git-SVN is going to ignore these files as well, it is important that we do not skip over directories that have this property set. Signed-off-by: Alex Galvin --- perl/Git/SVN.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl/Git/SVN.pm b/perl/Git/SVN.pm index 7721708ce5d..b0913ca1b63 100644 --- a/perl/Git/SVN.pm +++ b/perl/Git/SVN.pm @@ -763,7 +763,7 @@ sub prop_walk { # this needs to be updated. ++$interesting_props if /^svn:(?:ignore|keywords|executable |eol-style|mime-type - |externals|needs-lock)$/x; + |externals|needs-lock|global-ignores)$/x; } &$sub($self, $p, $props) if $interesting_props; From patchwork Mon Aug 12 16:58:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Galvin X-Patchwork-Id: 13760865 Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 358EE184558 for ; Mon, 12 Aug 2024 16:58:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723481916; cv=none; b=lhAxBj2dKs/nh5rlPUt2XpbJ/Pz37y3hmvm0W7sr6TuJXRQ4+IPQfFXIVdSkhXS9silRgnJNev81UbuC16DzeYoo22BV+ZJakf3E2EyCev+NG22BYy5r5A49+d1avorjqIuzNfy9AcA7lmD8cGyb2iNOpy+jADTU9/jvGjFP13Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723481916; c=relaxed/simple; bh=X8PlQH51CUNSBUn18mYQWo5vOapRlvy3QxNZylIBUP4=; h=Message-Id:In-Reply-To:References:From:Date:Subject:Content-Type: MIME-Version:To:Cc; b=q20McrKUkVprFh6RAEMSEueAFkyPasZstUzLcweJAtKk+Va0KFuyBycOBY2cOFcuTMk27aBhIRjm64VMuCSXRakC3lZrzf+f8GM0FZdOkemTKZd9cLGC4ygERUhotrWXTAXYLaZy2kyA3VWOv3SGRNcVDcLxHtfbjmWKnBuEcPI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=SPU617BI; arc=none smtp.client-ip=209.85.208.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SPU617BI" Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-5b8c2a61386so5307109a12.2 for ; Mon, 12 Aug 2024 09:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723481912; x=1724086712; darn=vger.kernel.org; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :references:in-reply-to:message-id:from:to:cc:subject:date :message-id:reply-to; bh=v9pB+QVMAAEuBBMangAPii+XS71mbisuR4fxXFJpA6Q=; b=SPU617BIdmiW/+5E9qulFu7tNidgei0jQe9BQtPife4q4rggcB1bDeo4kFFAPIDMCU N3laAw63cKaZN+eX9YHO7xrDgHV1QugWJN3+fOUQrGNkSAsJhapQ+KKGAkAora8pVR4/ Om5QCGwY/CsExAc5X2JJvIZbsCku0EqeV1TiHglfBcQ4+rmuf2FzX+shUlnxpUuK4BgE 7wFFLzPnXBTKX72zyhfLaI9Pqoda5P0sV4tsN/IfTkKDgnT36kv6dU42gqGZaBFNKEGx ehYJkVBAr4Rb7q0Sewsv2wm2VmzfF6ETXcVEz5qNnwNuXKoHm3dU/8siH1q/ERhFZYIq HDOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723481912; x=1724086712; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :references:in-reply-to:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v9pB+QVMAAEuBBMangAPii+XS71mbisuR4fxXFJpA6Q=; b=GOKrviOW474TIq93XL9Oj+MXxNQ9te/FjPzfKnMQBRJaWI4MACSykYFiPHBwPSoPma WoTCgOVJ3CjLTpPd5f4qiLuUeEn06K21NJjwnaPgrlRf0HpAmc0Y9Zwy+3VgRIpOBwc8 Hylkum1Fc2KGKB/adK6IuguPDBSKJk3dKxFsHfhwDP0lPu3jNeuiZrILF83ZlyV1Y2ra VJYlYcIWVg1dNIgTs0nRIJI80zdD0cveEy0g6N9r9HqzGsnGSUAYhOJeo0yl8lDvcXzK 933Kb6lxXvTQ2LViO0l9lzbCrPfDEo9yEih+aYS3GTmVgbyh8xVINzQ0hEzYY+7VsRg4 H6Og== X-Gm-Message-State: AOJu0YyI7Jgxvp8JLmGwx0VKzunbLdbPTq2AZh5UW5ZZzrub1tnRnAly HCnhtH20jlAB4FfxLu946NXhZY2b6zyNNr9hZaqM69dGMWyiFGTgXA9tew== X-Google-Smtp-Source: AGHT+IEyyCwqwpXLxAn/V0tSjQB01CYgH8IWvsMOcCCBUGuAgCb+5sXYahBaY41uH1hKMJx/3ccOIw== X-Received: by 2002:a17:906:6a10:b0:a7a:9a78:4b5a with SMTP id a640c23a62f3a-a80ed2c87e9mr54766866b.52.1723481911678; Mon, 12 Aug 2024 09:58:31 -0700 (PDT) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a80bb0e045asm241831566b.52.2024.08.12.09.58.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Aug 2024 09:58:31 -0700 (PDT) Message-Id: <7735afb32afd601e8306635e1cb3767f3f923f43.1723481908.git.gitgitgadget@gmail.com> In-Reply-To: References: Date: Mon, 12 Aug 2024 16:58:27 +0000 Subject: [PATCH v3 2/3] git-svn: use `svn:global-ignores` to create .gitignore Fcc: Sent Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 To: git@vger.kernel.org Cc: Alex Galvin , Alex Galvin From: Alex Galvin From: Alex Galvin `svn:global-ignores` contains a list of file patterns that should not be tracked in version control. The syntax of these patterns is the same as `svn:ignore`. Their semantics differ: patterns in `svn:global-ignores` apply to all paths under the directory where they apply, while `svn:ignore` only applies to the directory's immediate children. Signed-off-by: Alex Galvin --- git-svn.perl | 45 +++++++++++++++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/git-svn.perl b/git-svn.perl index b0d0a50984b..a2a46608c9b 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -1279,12 +1279,20 @@ sub cmd_show_ignore { $gs->prop_walk($gs->path, $r, sub { my ($gs, $path, $props) = @_; print STDOUT "\n# $path\n"; - my $s = $props->{'svn:ignore'} or return; - $s =~ s/[\r\n]+/\n/g; - $s =~ s/^\n+//; - chomp $s; - $s =~ s#^#$path#gm; - print STDOUT "$s\n"; + if (my $s = $props->{'svn:ignore'}) { + $s =~ s/[\r\n]+/\n/g; + $s =~ s/^\n+//; + chomp $s; + $s =~ s#^#$path#gm; + print STDOUT "$s\n"; + } + if (my $s = $props->{'svn:global-ignores'}) { + $s =~ s/[\r\n]+/\n/g; + $s =~ s/^\n+//; + chomp $s; + $s =~ s#^#$path**/#gm; + print STDOUT "$s\n"; + } }); } @@ -1315,16 +1323,25 @@ sub cmd_create_ignore { # which git won't track mkpath([$path]) unless -d $path; my $ignore = $path . '.gitignore'; - my $s = $props->{'svn:ignore'} or return; open(GITIGNORE, '>', $ignore) or fatal("Failed to open `$ignore' for writing: $!"); - $s =~ s/[\r\n]+/\n/g; - $s =~ s/^\n+//; - chomp $s; - # Prefix all patterns so that the ignore doesn't apply - # to sub-directories. - $s =~ s#^#/#gm; - print GITIGNORE "$s\n"; + if (my $s = $props->{'svn:ignore'}) { + $s =~ s/[\r\n]+/\n/g; + $s =~ s/^\n+//; + chomp $s; + # Prefix all patterns so that the ignore doesn't apply + # to sub-directories. + $s =~ s#^#/#gm; + print GITIGNORE "$s\n"; + } + if (my $s = $props->{'svn:global-ignores'}) { + $s =~ s/[\r\n]+/\n/g; + $s =~ s/^\n+//; + chomp $s; + # Global ignores apply to sub-directories, so they are + # not prefixed. + print GITIGNORE "$s\n"; + } close(GITIGNORE) or fatal("Failed to close `$ignore': $!"); command_noisy('add', '-f', $ignore); From patchwork Mon Aug 12 16:58:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Galvin X-Patchwork-Id: 13760866 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDAC4187842 for ; Mon, 12 Aug 2024 16:58:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723481916; cv=none; b=j0W19ikoWvv53gytOll33RGqbdtB3YK6ttEL9zOccjwFnwIDQ7RP3WN6wqxY1mMGYpDiXOWQ4xayHeZC7sN0OBDsdAGa0fieN3G5O1Rh11T6I6nsZVco7QXifjmrAYcHI9tVurjNL7/AjLxyPDJ0DlWhjjSEcjvkVdR8Kg6nQAg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723481916; c=relaxed/simple; bh=RnIPL0Vwwfu5FDbxcPLf1KiRnZ3swnjXo8NhMKFVvT4=; h=Message-Id:In-Reply-To:References:From:Date:Subject:Content-Type: MIME-Version:To:Cc; b=FUWaUb0SBhOvbj674xQMn159Tl6p+7euSgbWTWO0UkZXuqwTlKRs84eA/2v6gQgEXyTZQWLu4YiSzUrHwoly14MfuG1HNg5fBp0qWUhk+u7vQbHngqzQ6oRaJYFn7SKLqcgCyPtNYA88J80jLMqtJ1JEBNWyle5XxG/NfnDJHIg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=EMsA9jZ9; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EMsA9jZ9" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5a1c49632deso5077420a12.2 for ; Mon, 12 Aug 2024 09:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723481913; x=1724086713; darn=vger.kernel.org; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :references:in-reply-to:message-id:from:to:cc:subject:date :message-id:reply-to; bh=dKAd2VpYAN5pgPyva1FgFManUItg4ctPO/9vknl1sLc=; b=EMsA9jZ9qjrR28HKc+TKvpiBp8YRh/WjschAn92xF2rFyERKMhRTsz3G4uqHggNKTI cDI6Hdmc0qLtIst3RVz9ZgwQ5rbeY4BOIPE+Rs6B9MvFVTnIh3MxFdcqR++pjbow1SY6 1uWgxbvZA0O/4ewBVmnOLi72cbSIlGsVhv5PkjPD9nInUpP79UysNqS6Q+M+os0akmit APVxCvDfgGQwSq/5xlqFEzNdwcC+o1NkbuBKSxmEAE4kjPwuBJ9jijRjcjMXFddu9D5X 8Y7v5qIYF7F9vg0p5cqjjmZ1oLEH5zshABGhlE+Vy6ndetSaTo84LTxxrNePRYq7q+4p lPzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723481913; x=1724086713; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :references:in-reply-to:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dKAd2VpYAN5pgPyva1FgFManUItg4ctPO/9vknl1sLc=; b=qMOl20vHOsQHgilqB/fudAfel+uZP4unmHGhhJD24bMjomGckkRRHGJy/BXf9BMHwc 0McvBUo0Ngwey09g1Fu3MakMPZjhYMumcqRqvbgcRcu5HplXAyl8Xd/3q9wyvq4tbVTU Fz0JykU2CpXuCHae5TF3p/1287v+tUawoMRMtpB/5Z5C6zslBkE+zKr6ArfTh3gPfwuc /do1rl61g88Pm6gIJMDNxKNhvafWI4COBrKhUCssR0TXUv43nOgFm7mhkF9Azzi3wBie M3IiCtJsegwuVFoL9aTk6WbpLl+9ERsKRaUo2+cpV/h1XKSXdmi/HXNJ1Td82yPUBWj5 XC3A== X-Gm-Message-State: AOJu0Yz2L7X4nNVlUCQSveB/fQho9ZYVczRxd+K5WJSwsRfEA0oEEoMa C55zAzX82+eeObpehptzf0Ihd6JOoHnJOWi+nIrluyW9EleT4DTRvUCVxA== X-Google-Smtp-Source: AGHT+IEbAiajSZgKXW/BxerHGlWiWRdQblIHhirV8o3ZmRzk77eVSeMHaMrk9Bb03knNXIl1/y6J7A== X-Received: by 2002:a17:906:fe43:b0:a77:d63e:d8fd with SMTP id a640c23a62f3a-a80ed1b4ecfmr84392166b.12.1723481912474; Mon, 12 Aug 2024 09:58:32 -0700 (PDT) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a80bb119cc7sm244349466b.94.2024.08.12.09.58.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Aug 2024 09:58:32 -0700 (PDT) Message-Id: <18dffbe992e07cc6c9ce81f53977e256c3bb1ad8.1723481908.git.gitgitgadget@gmail.com> In-Reply-To: References: Date: Mon, 12 Aug 2024 16:58:28 +0000 Subject: [PATCH v3 3/3] git-svn: mention `svn:globalignores` in help Fcc: Sent Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 To: git@vger.kernel.org Cc: Alex Galvin , Alex Galvin From: Alex Galvin From: Alex Galvin Signed-off-by: Alex Galvin --- git-svn.perl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-svn.perl b/git-svn.perl index a2a46608c9b..b824011154b 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -219,7 +219,7 @@ my %cmd = ( "Set an SVN repository to a git tree-ish", { 'stdin' => \$_stdin, %cmt_opts, %fc_opts, } ], 'create-ignore' => [ \&cmd_create_ignore, - 'Create a .gitignore per svn:ignore', + 'Create a .gitignore per svn:ignore and svn:globalignores', { 'revision|r=i' => \$_revision } ], 'mkdirs' => [ \&cmd_mkdirs , @@ -234,7 +234,7 @@ my %cmd = ( 'proplist' => [ \&cmd_proplist, 'List all properties of a file or directory', { 'revision|r=i' => \$_revision } ], - 'show-ignore' => [ \&cmd_show_ignore, "Show svn:ignore listings", + 'show-ignore' => [ \&cmd_show_ignore, "Show svn:ignore and svn:globalignores listings", { 'revision|r=i' => \$_revision } ], 'show-externals' => [ \&cmd_show_externals, "Show svn:externals listings",