diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2012-04-19 13:54:27 +0000 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2012-04-24 10:16:09 +0200 |
commit | 56908de4d541b0fb9a9a080e79314879c7d86fa6 (patch) | |
tree | d709c0924622e9a747929a13143907a7f0f16844 /scripts | |
parent | f1fe1031116cb2ce84f31fd03d3d85c85b020c04 (diff) |
Make mytasks script take a origin to diff against
Change-Id: I8640b0852e96b21518fde36d0e0eb24ae473b6f9
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'scripts')
-rw-r--r--[-rwxr-xr-x] | scripts/mytasks.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mytasks.pl b/scripts/mytasks.pl index 5cf774048c..d212fde953 100755..100644 --- a/scripts/mytasks.pl +++ b/scripts/mytasks.pl @@ -88,7 +88,8 @@ sub getDiffOrigin { return "$remoteRepo/$remoteBranch"; } -my $origin = getDiffOrigin; +my $origin = shift; +$origin = getDiffOrigin unless $origin; print "# running: git diff $origin ...\n"; open(PIPE, "git diff $origin|"); |