Re: [PATCH] Add git format-patch produced patches to .gitignore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ævar Arnfjörð Bjarmason venit, vidit, dixit 15.05.2010 23:22:
> Change Git's own .gitignore so that patches produced with git
> format-patch don't show up as untracked.
> 

Does the git build process call format-patch? No! The .gitignore we
distribute is meant for things the build process creates, not for
imposing a specific workflow on developers.

If you want to ignore format patch output, simply use .git/info/excludes
or a global excludes file, but please don't force everyone else to live
with that or work around it.

Cheers,
Michael

> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx>
> ---
>  .gitignore |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/.gitignore b/.gitignore
> index dbf1b90..039d99c 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -203,3 +203,4 @@
>  *.pdb
>  /Debug/
>  /Release/
> +[0-9][0-9][0-9][0-9]-*.patch

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]