Thread (19 messages) flat view 19 messages, 3 authors, 2016-06-15

Re: [JGIT PATCH 00/14] TreeWalk D/F conflict detection

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:45:11

David Woodhouse [off-list ref] wrote:
On Mon, 2008-08-18 at 16:53 -0700, Shawn O. Pearce wrote:
quoted
This series is about fixing the "mistake" in Git trees where
subtrees sort as through their name is "path/" and not "path".
Er, really? Does that mean this commit is broken, then?

http://git.kernel.org/?p=linux/kernel/git/dwmw2/misc-git-hacks.git;a=commitdiff;h=fc1b73da
Yes, that is broken.
 
I shouldn't need to know that -- I'd _really_ like a version of
'git-hash-object -t tree' which validates and sorts its input for me.
And maybe even takes input in _text_ form, so I don't have to convert
the sha1 to binary.
Try `git mktree` instead.  It uses a text form, and it corrects
the sorting for you.  Though funny names that contain an LF may be
harder to send to mktree.

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