Lines Matching refs:git
34 my $git = 0;
47 $gitroot = ".git" if !defined($gitroot);
67 # git output parsing needs US English output, so first set backtick child process LANGUAGE
68 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
87 -g, --git treat FILE as a single commit or git revision range
88 single git commit with:
92 multiple git commits with:
96 git merges are ignored
124 file. It's your fault if there's no backup or git
218 'g|git!' => \$git,
255 die "$P: --git cannot be used with --file or --fix\n" if ($git && ($file || $fix));
934 $camelcase_cache = ".checkpatch-camelcase.git.$git_last_include_commit";
982 return 0 if ((which("git") eq "") || !(-e "$gitroot"));
992 return ($id, $desc) if ((which("git") eq "") || !(-e "$gitroot"));
1005 # git rev-list --remotes | grep -i "^$1" |
1007 # git log --format='%H %s' -1 $line |
1029 # If input is git commits, extract all commits from the commit expressions.
1031 die "$P: No git repository found\n" if ($git && !-e "$gitroot");
1033 if ($git) {
1054 die "$P: no git commits after extraction!\n" if (@commits == 0);
1065 if ($git) {
1066 open($FILE, '-|', "git format-patch -M --stdout -1 $filename") ||
1067 die "$P: $filename: git format-patch failed - $!\n";
1079 } elsif ($git) {
2529 $line =~ /^diff --git a\/[\w\/\.\_\-]+ b\/\S+\s*$/))) {
2587 if ($line =~ /^diff --git.*?(\S+)$/) {
2885 # Check for git id commit length and improperly formed commit descriptions
2940 "Please use git commit description style 'commit <12+ chars of sha1> (\"<title line>\")' - ie: '${init_char}ommit $id (\"$description\")'\n" . $herecurr);