Home | History | Annotate | Download | only in Scripts

Lines Matching refs:GIT

102 my $gitDiffStartRegEx = qr#^diff --git (\w/)?(.+) (\w/)?([^\r\n]+)#;
156 system("git", "mv", $source, $destination);
197 return system("cd $dir && git rev-parse > " . File::Spec->devnull() . " 2>&1") == 0;
213 # if you're in a git-svn checkout. The best suggestions seen so far
215 my $output = `git config --get svn-remote.svn.fetch 2>& 1`;
223 chomp($gitBranch = `git symbolic-ref -q HEAD`);
235 chomp(my $override = `git config --bool branch.$branch.webKitBranchBuild`);
240 chomp(my $gitBranchBuild = `git config --bool core.webKitBranchBuild`);
292 chomp(my $gitDir = `git rev-parse --git-dir`);
366 my $gitLog = `cd $dir && LC_ALL=C git log --grep='git-svn-id: ' -n 1 | grep git-svn-id:`;
367 ($revision) = ($gitLog =~ m/ +git-svn-id: .+@(\d+) /g);
382 $svnInfo = `LC_ALL=C git svn info $relativePath`;
401 chomp($gitRoot = `git rev-parse --show-cdup`);
524 # the default behavior in Git and SVN.
535 # Parse the next Git diff header from the given file handle, and advance
543 # beginning with "diff --git".
566 # format. Git-specific lines are preserved.
583 die("Could not parse leading \"diff --git\" line: \"$line\".");
618 # permit us to use "svn move" and "git move".
626 } elsif (/^GIT binary patch$/ ) {
629 # The "git diff" command includes a line of the form "Binary files
632 die("Error: the Git diff contains a binary file without the binary data in ".
633 "line: \"$_\". Be sure to use the --binary flag when invoking \"git diff\" ".
766 # is a line beginning with "Index:". For Git, this is a line
767 # beginning with "diff --git".
780 # isGit: the value 1 if the diff is Git-formatted.
786 # format. Git-specific lines are preserved.
804 die("First line of diff does not begin with \"Index:\" or \"diff --git\": \"$line\"");
816 # that, if necessary, the text of an SVN or Git patch can be
835 # isGit: the value 1 if the diff is Git-formatted.
842 # Git-specific lines are preserved.
887 # Then assume all diffs in the patch are Git-formatted. This
889 # all diffs in the patch are formatted the same (SVN or Git).
964 # Git records the change to the executable bit in the header of a diff.
1630 # $fileMine: The merged version of the file. Also known in git as the
1633 # $fileOlder: The base version of the file. Also known in git as the
1636 # $fileNewer: The current version of the file. Also known in git as the
1702 my $result = `git config $config`;
1704 $result = `git repo-config $config`;
1717 print STDERR " OR git users can set 'git config user.name'\n";
1739 print STDERR " OR git users can set 'git config user.email'\n";
1788 # and won't handle git binary patches.
1815 # Git binary patch has two chunks. One is for the normal patching
1825 die "$fullPath: unknown git binary patch format"
1854 # The git binary delta format is undocumented, except in code:
1855 # - https://github.com/git/git/blob/master/delta.h:get_delta_hdr_size is the source
1857 # - https://github.com/git/git/blob/master/patch-delta.c:patch_delta is the source
1885 # Git delta format consists of two headers indicating source buffer size