git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix cg-fetch so that it doesn't use -d (to work with POSIX cp)
@ 2005-11-21  4:10 Randal L. Schwartz
  2005-11-21  8:46 ` Andreas Ericsson
  0 siblings, 1 reply; 2+ messages in thread
From: Randal L. Schwartz @ 2005-11-21  4:10 UTC (permalink / raw)
  To: git


I simply removed -d, since I don't know how necessary it is to make
it work better, but it seems to work fine on OSX now.

remove -d flag from cp

---
commit 3e7bc5b605f58376688f1cf195f51965becd5c3f
tree 1c53f8753ff9c31f0ff2692b64754ad48e45f143
parent 22ff47e9b3c5fc8aa2efbc5ac8690b06b868ef6f
author Randal L. Schwartz <merlyn@localhost.(none)> Sun, 20 Nov 2005 20:01:38 -0800
committer Randal L. Schwartz <merlyn@localhost.(none)> Sun, 20 Nov 2005 20:01:38 -0800

 cg-fetch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cg-fetch b/cg-fetch
index 5a2039f..eb89ebe 100755
--- a/cg-fetch
+++ b/cg-fetch
@@ -158,7 +158,7 @@ get_local()
 		cp_flags_l="$cp_flags_l -L"
 		shift
 	else
-		cp_flags_l="$cp_flags_l -dpR"
+		cp_flags_l="$cp_flags_l -pR"
 	fi
 
 	[ "$1" = "-i" ] && shift


-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] fix cg-fetch so that it doesn't use -d (to work with POSIX cp)
  2005-11-21  4:10 [PATCH] fix cg-fetch so that it doesn't use -d (to work with POSIX cp) Randal L. Schwartz
@ 2005-11-21  8:46 ` Andreas Ericsson
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Ericsson @ 2005-11-21  8:46 UTC (permalink / raw)
  To: Randal L. Schwartz; +Cc: git

Randal L. Schwartz wrote:
> I simply removed -d, since I don't know how necessary it is to make
> it work better, but it seems to work fine on OSX now.
> 

This enforces symrefs instead of symlinks when cloning locally. There 
have been some discussions on the topic before, and the decision was to 
maintain symlink support on filesystems that can do it. OTOH, Pasky 
(cogito author) was all for only supporting symrefs, so perhaps he'll 
accept this anyways.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-21  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21  4:10 [PATCH] fix cg-fetch so that it doesn't use -d (to work with POSIX cp) Randal L. Schwartz
2005-11-21  8:46 ` Andreas Ericsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).