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

Re: git-diff-files -z output

From: Thomas Glanzmann <hidden>
Date: 2016-06-15 22:41:58

Hello,
Please see Documentation/diff-format.txt; find the below in the
archive for the full description of why we wanted this format
update.
got it thanks. I read that eMail before. But I thought that the
tab -> space was a mistake, but it wasn't. So I am fine. I use the
following code fragment to match it. Gitweb and co have to be adopted as
well:

sub
process_git_diff_output
{
        my $str = shift || die("Need Input");

        my @in  = split("\0", $str);
        my @out = ();

        while (@in) {
                my @tmp = split(' ', shift(@in));
                push(@tmp, shift(@in), shift(@in));
                push(@out, [@tmp]);
        }

        return(@out);
}

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