On Fri, 7 May 2010, Avery Pennarun wrote:No, presumably 'auto-eol' does the same auto-detection. Otherwise the name wouldn't make sense. I just think that it's crazy because (a) you should try to avoid do things like that in the first place. For something like an attribute file, you should just list the files you want to convert. That's the _point_ of an attribute. So it's much nicer if you instead actually are explicit about it, ie *.[ch] crlf *.txt crlf *.jpg -crlf should be the _primary_ way you do it, since the autocrlf thing is a bit dangerous in theory. (b) But let's say that you want to do it anyway (because you're lazy and because autocrlf works pretty damn well in practice), isn't that a really ugly and crazy thing to add _another_ attribute name for that? IOW, if you really want to say "do automatic crlf for this set of paths", the natural syntax for that would be * crlf=auto No? Not some totally new attribute name. And in the end, you always do want to have a config variable for the actual type of conversion. And like it or not, we already do end up having this mix-up between .gitattributes and git "core.autocrlf" config entry, so my suggested rule was kind of a "minimally invasive" suggestion to just turn that mixing of attributes and config entries into something more practically useful. Linus -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg KH | Og dreams of kernels |
| Jens Axboe | [PATCH 31/33] Fusion: sg chaining support |
| Arnd Bergmann | Re: finding your own dead "CONFIG_" variables |
| Mark Brown | [PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset |
| Tony Breeds | [LGUEST] Look in object dir for .config |
git: | |
| Brian Downing | Re: Git in a Nutshell guide |
| John Benes | Re: master has some toys |
| Matthias Lederhofer | [PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree |
| Alexander Sulfrian | [RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set |
| Junio C Hamano | Re: Rss produced by git is not valid xml? |
| Linux Kernel Mailing List | iSeries: fix section mismatch in iseries_veth |
| Linux Kernel Mailing List | ixbge: remove TX lock and redo TX accounting. |
| Linux Kernel Mailing List | ixgbe: fix several counter register errata |
| Linux Kernel Mailing List | b43: fix build with CONFIG_SSB_PCIHOST=n |
| Linux Kernel Mailing List | 9p: block-based virtio client |
| Michael Breuer | Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit() |
