Git development
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
To: git@vger.kernel.org
Subject: Arbitrary long file lists?
Date: Mon, 30 Jul 2007 14:33:50 +0200	[thread overview]
Message-ID: <866442t6j5.fsf@lola.quinscape.zz> (raw)


Hi,

commands like git-archive take a file list on the command line.  If
the number of files does no longer fit the argv limitations, this
causes a problem.

So it might be nice to be able to treat some "filenames" in a file
list special:

-@=filename (read LF-lines with filenames from filename)
-@=- (read lines with filenames from stdin)
-@z=filename (read NUL-terminated list with filenames from filename)
-@z=- (same from stdin)

Of course, this particular syntax, very loosely inspired by infozip,
leaves a lot to be desired: prettier proposals welcome.

But the feature itself would not be unimportant.  I am also fuzzy on
what sort of quoting should be interpreted outside of the
NUL-terminated case.

-- 
David Kastrup

             reply	other threads:[~2007-07-30 12:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-30 12:33 David Kastrup [this message]
2007-07-30 12:43 ` Arbitrary long file lists? Alex Riesen
2007-07-30 13:18   ` David Kastrup

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=866442t6j5.fsf@lola.quinscape.zz \
    --to=dak@gnu.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox