Skip to content

Commit

Permalink
use git whatchanged for initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tg-x committed Jun 5, 2013
1 parent 677e392 commit a321956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/gitzone
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ sub pre_receive {
# check what changed
git "checkout -qf $new";
if ($old =~ /^0+$/) {
$_ = git "show --raw $new";
$_ = git "whatchanged $new";
} else {
$_ = git "diff --raw $old..$new";
}
Expand Down

0 comments on commit a321956

Please sign in to comment.