Thread (47 messages) flat view 47 messages, 5 authors, 2016-06-15

Re: [PATCH v4 3/4] setup: Add 'abspath_part_inside_repo' function

From: Duy Nguyen <hidden>
Date: 2016-06-15 22:59:47

On Sun, Feb 2, 2014 at 9:19 AM, Duy Nguyen [off-list ref] wrote:
quoted
+       /* check whole path */
+       if (strcmp(real_path(path0), work_tree) == 0) {
+               *path0 = '\0';
+               return 0;
+       }
I think this is already handled by the "check if work tree is already
the prefix" block.
No, the "check if.." block does not do real_path() so we still need it
here. Sorry for the noise.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help