Home | History | Annotate | Download | only in Scripts

Lines Matching refs:GIT

32 # Git support added by Adam Roben <aroben@apple.com>
33 # --git-index flag added by Joe Mason <joe.mason@torchmobile.com>
122 "git-commit|g:s" => \$gitCommit,
123 "git-index" => \$gitIndex,
124 "git-reviewer:s" => \$gitReviewer,
130 print STDERR basename($0) . " [-b|--bug=<bugid>] [-d|--diff] [-h|--help] [-o|--open] [-g|--git-commit=<committish>] [--git-reviewer=<name>] [svndir1 [svndir2 ...]]\n";
135 print STDERR " -g|--git-commit Populate the ChangeLogs from the specified git commit\n";
136 print STDERR " --git-index Populate the ChangeLogs from the git index only\n";
137 print STDERR " --git-reviewer When populating the ChangeLogs from a git commit claim that the spcified name reviewed the change.\n";
138 print STDERR " This option is useful when the git commit lacks a Signed-Off-By: line\n";
147 die "--git-commit and --git-index are incompatible." if ($gitIndex && $gitCommit);
157 my $GIT = "git";
477 # Silently allow --git-commit to win, we could warn if $nameFromArgs is defined.
478 return `$GIT log --max-count=1 --pretty=\"format:%an\" \"$gitCommit\"` if $gitCommit;
486 # Silently allow --git-commit to win, we could warn if $emailAddressFromArgs is defined.
487 return `$GIT log --max-count=1 --pretty=\"format:%ae\" \"$gitCommit\"` if $gitCommit;
1295 $command = "$GIT diff --no-ext-diff -U0 " . diffFromToString();
1311 $command = "$GIT diff -r --name-status -M -C " . diffFromToString();
1326 $command = "$GIT diff -M -C " . diffFromToString();
1336 return qr/^diff --git a\/.+ b\/(.+)$/ if $isGit;
1467 $propertyStatus = " "; # git doesn't have properties
1475 print; # error output from git diff
1549 my %git = (
1555 return $git{$status} if $isGit;
1572 my %git = %svn;
1573 $git{"A"} = " Added.";
1574 $git{"C"} = " Copied from \%s.";
1575 $git{"R"} = " Renamed from \%s.";
1579 $description = sprintf($git{$status}, $original) if $isGit && exists $git{$status};
1664 open(GIT, "-|", $GIT, @args, $commit) || die;
1665 $gitLog = <GIT>;
1666 close(GIT);