public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gitignore: Add .DS_Store for Mac OS X
@ 2014-09-29 22:46 Bryan Hundven
  2014-09-30  4:47 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Bryan Hundven @ 2014-09-29 22:46 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc, Bryan Hundven

From: Bryan Hundven <bryan@Bryans-MacBook-Pro.local>

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index 90b516d..c1af0a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,6 @@ build.log
 .build/
 # .. and the legacy location
 targets/
+
+# Mac OS X .DS_Store file
+.DS_Store
-- 
2.1.1


--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gitignore: Add .DS_Store for Mac OS X
  2014-09-29 22:46 [PATCH] gitignore: Add .DS_Store for Mac OS X Bryan Hundven
@ 2014-09-30  4:47 ` Baruch Siach
       [not found]   ` <CAJ+oik1xn=eaQmdW216u7QSFcqPGKVyEY-SyKdYN8-tvnuxdeg@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2014-09-30  4:47 UTC (permalink / raw)
  To: Bryan Hundven; +Cc: Yann E. MORIN, crossgcc, Bryan Hundven

Hi Bryan,

On Mon, Sep 29, 2014 at 03:46:01PM -0700, Bryan Hundven wrote:
> From: Bryan Hundven <bryan@Bryans-MacBook-Pro.local>

This can't be right.

> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
> ---
>  .gitignore | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/.gitignore b/.gitignore
> index 90b516d..c1af0a1 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -21,3 +21,6 @@ build.log
>  .build/
>  # .. and the legacy location
>  targets/
> +
> +# Mac OS X .DS_Store file
> +.DS_Store

Instead of adding this file to each and every software project .gitignore, why 
not why not add it to your local $HOME/.config/git/ignore file? See 
core.excludesfile in the git-config(1) man page.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gitignore: Add .DS_Store for Mac OS X
       [not found]   ` <CAJ+oik1xn=eaQmdW216u7QSFcqPGKVyEY-SyKdYN8-tvnuxdeg@mail.gmail.com>
@ 2014-09-30  7:40     ` Baruch Siach
  0 siblings, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2014-09-30  7:40 UTC (permalink / raw)
  To: Bryan Hundven; +Cc: Yann E. MORIN, crossgcc maillist, Bryan Hundven

Hi Bryan,

On Mon, Sep 29, 2014 at 10:18:15PM -0700, Bryan Hundven wrote:

[snip]

> diff --git a/.gitignore b/.gitignore
> index 90b516d..c1af0a1 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -21,3 +21,6 @@ build.log
> .build/
> # .. and the legacy location
> targets/
> +
> +# Mac OS X .DS_Store file
> +.DS_Store
> 
> 
> Instead of adding this file to each and every software project .gitignore,
> why
> not why not add it to your local $HOME/.config/git/ignore file? See
> core.excludesfile in the git-config(1) man page.
> 
> 
> Is it really that horrible to have two extra lines in a .gitignore file to
> make sure we don't let users accidentally include this file in a commit?
> (functionally, it's really one line, but the comment kind of helps)

I'll let the maintainer decide on that. But I think it would be much easier 
for you to set $HOME/.config/git/ignore once, and solve the problem for all 
your git trees.

Just my 2¢.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-30  7:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-29 22:46 [PATCH] gitignore: Add .DS_Store for Mac OS X Bryan Hundven
2014-09-30  4:47 ` Baruch Siach
     [not found]   ` <CAJ+oik1xn=eaQmdW216u7QSFcqPGKVyEY-SyKdYN8-tvnuxdeg@mail.gmail.com>
2014-09-30  7:40     ` Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).