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

Re: RFC: git cat-file --follow-symlinks?

From: Jonathan Nieder <hidden>
Date: 2016-06-15 23:04:34

Hi,

David Turner wrote:
Instead, it would be cool if cat-file had a mode in which it would
follow symlinks.
Makes sense.
The major wrinkle is that symlinks can point outside the repository --
either because they are absolute paths, or because they are relative
paths with enough ../ in them.  For this case, I propose that
--follow-symlinks should output [sha] "symlink" [target] instead of the
usual [sha] "blob" [bytes].
What happens when the symlink payload contains a newline?

Thanks,
Jonathan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help