All of lore.kernel.org
 help / color / mirror / Atom feed
From: Morten Welinder <mwelinder@gmail.com>
To: David Greaves <david@dgreaves.com>
Cc: Petr Baudis <pasky@ucw.cz>, GIT Mailing Lists <git@vger.kernel.org>
Subject: Re: [PATCH] cg-init should only process files
Date: Thu, 12 May 2005 12:37:19 -0400	[thread overview]
Message-ID: <118833cc050512093750db7d55@mail.gmail.com> (raw)
In-Reply-To: <E1DWG9b-0001VV-V0@ash.dgreaves.com>

> -       find * | xargs cg-add
> +       find * -type f | xargs cg-add

I think we went through that a day or two ago:  Problems:

1. You forgot symlinks.
2. It does not work if nothing matches "*".  (Nor does the original.)
3. Either it should not match dotfiles in subdirectories, or else it
should match
   them in the top directory too.
4. With needs some -print0 and "--" protection.

Morten

  reply	other threads:[~2005-05-12 16:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-12 16:03 [PATCH] cg-init should only process files David Greaves
2005-05-12 16:37 ` Morten Welinder [this message]
2005-05-12 16:45   ` David Greaves

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=118833cc050512093750db7d55@mail.gmail.com \
    --to=mwelinder@gmail.com \
    --cc=david@dgreaves.com \
    --cc=git@vger.kernel.org \
    --cc=pasky@ucw.cz \
    /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.