Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s8Qvw-00CbBa-OA for pgsql-hackers@arkaria.postgresql.org; Sat, 18 May 2024 20:45:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s8Qvv-009rdM-JD for pgsql-hackers@arkaria.postgresql.org; Sat, 18 May 2024 20:45:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s8Qvv-009rdE-8K for pgsql-hackers@lists.postgresql.org; Sat, 18 May 2024 20:45:35 +0000 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s8Qvr-000vfc-Db for pgsql-hackers@lists.postgresql.org; Sat, 18 May 2024 20:45:34 +0000 Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-792b934de39so141943185a.3 for ; Sat, 18 May 2024 13:45:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1716065129; x=1716669929; darn=lists.postgresql.org; h=in-reply-to:autocrypt:content-language:from:references:cc:to :subject:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=kDLNwyTU2Wm+P6bPze5Icw/hUPGxuZSrqsHvEsV7eCo=; b=QVpMcOZ5IScCOJcWfMRgFA4794gJymlC9wGwiRW/ixP7AYU/5BQ3KDCgD+sANRY5qn t9/mpA7G2w7yJW4Jps2k71CoqHfzqwEnQtHBRU65ENlowZS1D2QvcpSmZ/EFB18Unww+ 3cpJnEvtIdDsuCWHgGgHjc6OypE0Q/ZgdWVWNPGKKJ3uA5B3JFesPn/QAU9u5qlLfEz8 ukP4+fhzWLJ/7kTtIhBmqpGkg35g2OL/rjztVF6is2UX6CvVhDEma4ASosIJ5/RUQHO1 A2te8/bfTOtkjjLb0l8L+Po7n9I844LeHgFgy8MMn/7H6wvJL96MdX0MBz4jK8gdtYMQ /sXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716065129; x=1716669929; h=in-reply-to:autocrypt:content-language:from:references:cc:to :subject:user-agent:mime-version:date:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kDLNwyTU2Wm+P6bPze5Icw/hUPGxuZSrqsHvEsV7eCo=; b=Ip/xUA6atcypPU9ooHz1UCob+KsvlF+jof6OYb2Dvm1psHxHOTsG1zvNbMolNMCmIQ 62w/eHZNrGgW2X3lFVJIHyPfnfWbZ2bSxxVJ3UWJU9lFrQfJEXuyifzyPsnkgGrAaB35 H1usDdq3cwtgQ3buQFgMX56grShP5Q6behsvTLYoLtdeNQeJzP4sdPLWQegxI7JXeDR7 dv5m1iMpGuUwE6uE5I0mwAr288MMfdqoNg034lMfyz3wzXa0Xc1cyyKtSL/8lOLVfoFi 6neUoXEAecE7Q1fKh+6vlkiovadic0vIrTEDeqB7MqiLty2NxHNHfHLy8+BQMqHHTnN4 rANA== X-Gm-Message-State: AOJu0Yzz1hVMQN18F36kvcFjKcDQTgT59gLMLbmcB0fZH2ByPQE0KTGN pbIhakxxnWKNxrkON5/GRA4olV2+BxcDTJ3ZKKFf5h/M0g/ap2XDJo3cly/A6G4= X-Google-Smtp-Source: AGHT+IHfrUiC2iFi+jDu7akKsyJsEW6ddIcXBcEnS4epzMHZDe7NzDCYNtGtJGLyvxRtN7RW2xDt4g== X-Received: by 2002:a05:620a:2993:b0:792:9527:c162 with SMTP id af79cd13be357-792c75f1f79mr3194193885a.50.1716065129443; Sat, 18 May 2024 13:45:29 -0700 (PDT) Received: from ?IPV6:2605:a601:9180:9800::2bb? ([2605:a601:9180:9800::2bb]) by smtp.googlemail.com with ESMTPSA id af79cd13be357-792bf296d14sm1028955585a.49.2024.05.18.13.45.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 18 May 2024 13:45:29 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------8fq4mR8K5Meu8qEQgciXXEqD" Message-ID: <2fcdd1cd-0d51-471a-b887-ed8cac2db70d@dunslane.net> Date: Sat, 18 May 2024 16:45:27 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Ignore Visual Studio's Temp Files While Working with PG on Windows To: Yasir , =?UTF-8?B?Sm9zZWYgxaBpbcOhbmVr?= Cc: PostgreSQL Hackers References: From: Andrew Dunstan Content-Language: en-US Autocrypt: addr=andrew@dunslane.net; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAHNJEFuZHJldyBEdW5zdGFuIDxhbmRyZXdAZHVuc2xhbmUubmV0PsLAmwQTAQgARQIbAwIX gAIZAQULCQgHAgMiAgEGFQoJCAsCBBYCAwECHgcWIQTkPlhGHfx8v0RpFaWZ+n/LWfw7gQUC ZFlxxwUJGVGAbgAKCRCZ+n/LWfw7gXikB/9ZdcUy6CTBFIIuL/bVsc1eLEW/gJBjJBF6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2qBrqN+rqUEsT3YnExYpzj5yOBi+FlmV1Hw 49QYe1sn2ZPs In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------8fq4mR8K5Meu8qEQgciXXEqD Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-05-18 Sa 15:43, Yasir wrote: > > > On Sat, May 18, 2024 at 7:27 PM Josef Šimánek > wrote: > > pá 17. 5. 2024 v 8:09 odesílatel Yasir > napsal: > > > > Hi Hackers, > > > > I have been playing with PG on the Windows platform recently. An > annoying thing I faced is that a lot of Visual Studio's temp files > kept appearing in git changed files. Therefore, I am submitting > this very trivial patch to ignore these temp files. > > see > https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer > for various strategies > > > We can add it to "~/.config/git/ignore" as it will ignore globally on > windows which we don't want. Also we don't have ".git/info/exclude" in > PG project's so the best place left is projects's .gitignore. That's > what was patched. eh? git creates .git/info/exclude in every git repository AFAIK. And it's referred to here: cheers andrew -- Andrew Dunstan EDB:https://www.enterprisedb.com --------------8fq4mR8K5Meu8qEQgciXXEqD Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


On 2024-05-18 Sa 15:43, Yasir wrote:


On Sat, May 18, 2024 at 7:27 PM Josef Šimánek <josef.simanek@gmail.com> wrote:
pá 17. 5. 2024 v 8:09 odesílatel Yasir <yasir.hussain.shah@gmail.com> napsal:
>
> Hi Hackers,
>
> I have been playing with PG on the Windows platform recently. An annoying thing I faced is that a lot of Visual Studio's temp files kept appearing in git changed files. Therefore, I am submitting this very trivial patch to ignore these temp files.

see https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer
for various strategies


We can add it to "~/.config/git/ignore" as it will ignore globally on windows which we don't want. Also we don't have ".git/info/exclude" in PG project's so the best place left is projects's .gitignore. That's what was patched. 
 



eh? git creates .git/info/exclude in every git repository AFAIK. And it's referred to here: <https://git-scm.com/docs/gitignore>


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com
--------------8fq4mR8K5Meu8qEQgciXXEqD--