Skip to content

Commit 650cbf9

Browse files
committed
Added a To-Do
1 parent 62e9b19 commit 650cbf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/build.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ =head1 Author, Copyright, and License
124124
my $myhead = git 'log', '-1', '--format=%h', $C{PERL_BRANCH}, {chomp=>1,show_cmd=>$VERBOSE};
125125
my $remhead = git 'log', '-1', '--format=%h', 'origin/'.$C{PERL_BRANCH}, {chomp=>1,show_cmd=>$VERBOSE};
126126
say STDERR "# Local branch is at $myhead, remote is $remhead";
127-
if ($myhead ne $remhead) {
127+
if ($myhead ne $remhead) { #TODO Later: This should also check which git commit is newer!
128128
if (prompt("Would you like to update? WARNING: Unsaved local changes may be lost! [Yn]","y")=~/^\s*y/i) {
129129
eval {
130130
if ($C{CLOBBER_BRANCH}) {

0 commit comments

Comments
 (0)