Thread (2 messages) flat view 2 messages, 2 authors, 2018-01-05

Re: [PATCH] git-archive: accept --owner and --group like GNU tar

From: Junio C Hamano <hidden>
Date: 2018-01-04 18:22:54

René Scharfe [off-list ref] writes:
I don't know if it's a good idea, but perhaps we don't even need a new
option.  We could change how pathspecs of untracked files are handled:
Instead of aborting we could include them in the archive.  (Sounds like
the simplest possible interface, but may have practical problems.)
One practical problem is that users who do this

    $ git archive HEAD Documentation/ | tar tf -

would be expecting (at least) two different things, depending on the
situation they are in.

So at least you'd need an "--include-untracked" option, I guess.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help