Lines Matching refs:git
37 my $git = 0;
50 $gitroot = ".git" if !defined($gitroot);
72 # git output parsing needs US English output, so first set backtick child process LANGUAGE
73 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
95 -g, --git treat FILE as a single commit or git revision range
96 single git commit with:
100 multiple git commits with:
104 git merges are ignored
132 file. It's your fault if there's no backup or git
303 'g|git!' => \$git,
358 die "$P: --git cannot be used with --file or --fix\n" if ($git && ($file || $fix));
1171 $camelcase_cache = ".checkpatch-camelcase.git.$git_last_include_commit";
1219 return 0 if ((which("git") eq "") || !(-e "$gitroot"));
1229 return ($id, $desc) if ((which("git") eq "") || !(-e "$gitroot"));
1242 # git rev-list --remotes | grep -i "^$1" |
1244 # git log --format='%H %s' -1 $line |
1267 # If input is git commits, extract all commits from the commit expressions.
1269 die "$P: No git repository found\n" if ($git && !-e "$gitroot");
1271 if ($git) {
1292 die "$P: no git commits after extraction!\n" if (@commits == 0);
1303 if ($git) {
1304 open($FILE, '-|', "git format-patch -M --stdout -1 $filename") ||
1305 die "$P: $filename: git format-patch failed - $!\n";
1317 } elsif ($git) {
2793 $line =~ /^diff --git a\/[\w\/\.\_\-]+ b\/\S+\s*$/))) {
2851 if ($line =~ /^diff --git.*?(\S+)$/) {
3311 "Commit log lines starting with '#' are dropped by git as comments\n" . $herecurr) &&
3317 # Check for git id commit length and improperly formed commit descriptions
3387 "Please use git commit description style 'commit <12+ chars of sha1> (\"<title line>\")' - ie: '${init_char}ommit $id (\"$description\")'\n" . $herectx);