Lines Matching full:git

10 # This file is taken from linux.git 933069701c1b5 scripts/checkpatch.pl
42 my $git = 0;
55 $gitroot = ".git" if !defined($gitroot);
77 # git output parsing needs US English output, so first set backtick child process LANGUAGE
78 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
101 -g, --git treat FILE as a single commit or git revision range
102 single git commit with:
106 multiple git commits with:
110 git merges are ignored
138 file. It's your fault if there's no backup or git
310 'g|git!' => \$git,
365 die "$P: --git cannot be used with --file or --fix\n" if ($git && ($file || $fix));
1179 $camelcase_cache = ".checkpatch-camelcase.git.$git_last_include_commit";
1227 return 0 if ((which("git") eq "") || !(-e "$gitroot"));
1237 return ($id, $desc) if ((which("git") eq "") || !(-e "$gitroot"));
1250 # git rev-list --remotes | grep -i "^$1" |
1252 # git log --format='%H %s' -1 $line |
1276 # If input is git commits, extract all commits from the commit expressions.
1278 die "$P: No git repository found\n" if ($git && !-e "$gitroot");
1280 if ($git) {
1301 die "$P: no git commits after extraction!\n" if (@commits == 0);
1312 if ($git) {
1313 open($FILE, '-|', "git format-patch -M --stdout -1 $filename") ||
1314 die "$P: $filename: git format-patch failed - $!\n";
1326 } elsif ($git) {
2805 $line =~ /^diff --git a\/[\w\/\.\_\-]+ b\/\S+\s*$/))) {
2863 if ($line =~ /^diff --git.*?(\S+)$/) {
3334 "Commit log lines starting with '#' are dropped by git as comments\n" . $herecurr) &&
3340 # Check for git id commit length and improperly formed commit descriptions
3410 …"Please use git commit description style 'commit <12+ chars of sha1> (\"<title line>\")' - ie: '${…