Thread (7 messages) 7 messages, 2 authors, 2016-06-15

Re: [PATCH 1/2] fast-import: add special mode; copy from parent.

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:45:49

On Mon, Dec 22, 2008 at 12:07 AM, Shawn O. Pearce [off-list ref] wrote:
Felipe Contreras [off-list ref] wrote:
quoted
+     if (!prefixcmp(p, "- ")) {
+             mode = 0;
+             p += 2;
This part made me wonder, why are we always doing "S_IFREG | mode"
further down?
My guess is because 0644 and 0755; doing S_IFREG | mode doesn't
achieve anything for the other modes.

I just sent a patch that I hope makes that more visible.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help