All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Štěpán Němec" <stepnem@gmail.com>
To: git@vger.kernel.org
Subject: Re: No way to have global diff settings? (global .gitattributes feature request)
Date: Mon, 26 Apr 2010 15:44:20 +0200	[thread overview]
Message-ID: <87och6ib0r.fsf@gmail.com> (raw)
In-Reply-To: <87zl0wd9ce.fsf@gmail.com> ("Štěpán Němec"'s message of "Wed, 21 Apr 2010 19:05:53 +0200")

Štěpán Němec <stepnem@gmail.com> writes:

> Hello,
>
> it seems there is no global .gitattribute equivalent to .gitignore or
> .gitconfig. Wouldn't it make much sense to have one? Failing that, there
> really should be a way to specify some global diff options at least.
>
> My use case:
>
> I wanted to specify something like -F "^(" to git diff for lisp files.
> But well, git diff has no -F option! So shruggar from #git pointed me to
> gitattributes. OK, that's great and works, but now I have to put
> .gitattributes or info/attributes to all repos with lisp files in them?
> That rather sucks, if you ask me.
>
> So I would like to ask if there is a way, and if not, if it could be
> considered a useful feature addition.
>
> Thanks,
>
>   Štěpán

PING

  reply	other threads:[~2010-04-26 13:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-21 17:05 No way to have global diff settings? (global .gitattributes feature request) Štěpán Němec
2010-04-26 13:44 ` Štěpán Němec [this message]
2010-04-26 13:48   ` Matthieu Moy
2010-04-26 14:48     ` Michael J Gruber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87och6ib0r.fsf@gmail.com \
    --to=stepnem@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.