Re: [PATCH] Be more careful with objects directory permissions on clone
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- May 6, 2008, 07:25 UTC
- Message-ID
- <fvp14f$8v0$1@ger.gmane.org>
- In-Reply-To
- <alpine.BSO.1.10.0805051742020.10940@zrgural.vwaro.pbz>
Mark Hills wrote:
Show 5 quoted lines
> - find objects -depth -print | cpio $cpio_quiet_flag -pumd$l "$GIT_DIR/" || \ > + # Create dirs using umask and permissions and destination > + find objects -type d -print | (cd "$GIT_DIR" && xargs mkdir -p) && > + # Copy existing 0444 permissions on content > + find objects ! -type d -print | cpio $cpio_quiet_flag -pumd$l "$GIT_DIR/" || \
By the way, it is important that previous version had -depth, and proposed one doesn't? Was it about creating directories before files?
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git