Permalink
Browse files

[6] Adjusted `git log` formatting options

Signed-off-by: DoesntMatter <jaed1@gmx.net>
  • Loading branch information...
DoesntMatter committed Jan 21, 2012
1 parent 45f1163 commit fc8aea0c118a0d02cd0c625c5ee2cec3b3f9f0d9
Showing with 2 additions and 2 deletions.
  1. +2 −2 gitlog_to_rss.pl
View
@@ -95,7 +95,7 @@ sub ShowHelp {
sub ParseGitLog {
my $repo = shift || return undef;
my $cmd = "git log --pretty=tformat:%H%n%ct%n%cn%n%ce%n%B%m $repo";
my $cmd = "git log --pretty=tformat:%H%n%cd%n%cn%n%ce%n%s%n%b%m $repo";
my $result;
$result = qx/$cmd/;
@@ -113,7 +113,7 @@ sub SplitCommits {
my (@lines, @commit, $i);
for $i ( 0 .. ($size - 1) ) {
@lines = split(/\n/, $items[$i], 5);
@lines = split(/\n/, $items[$i], 6);
$commit[$i] = [ @lines ];
}
return @commit;

0 comments on commit fc8aea0

Please sign in to comment.