Re: [PATCH] git-archive: accept --owner and --group like GNU tar
- From
- suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
- Date
- Jan 5, 2018, 04:23 UTC
- Message-ID
- <5A4EFDAD.3050105@hiroshima-u.ac.jp>
- In-Reply-To
- <2112f9c245d64f4e89361df7e9de9374@OS2PR01MB1147.jpnprd01.prod.outlook.com>
Dear Junio,
Could you tell me your thought about the way for me to go? Do you agree with his suggestion; "--uid etc is not the right solution, --include-untracked is better and generic" ? Or, should I work "--uid etc" further?
Regards, mpsuzuki
Junio C Hamano wrote:
Show 16 quoted lines
> René Scharfe <l.s.r@web.de> 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. >