summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index cd1bbad..f60e15f 100755
--- a/dgit
+++ b/dgit
@@ -2576,7 +2576,7 @@ END
my $forceflag = '';
if ($archive_hash) {
- if (is_fast_fwd($archive_hash, 'HEAD')) {
+ if (is_fast_fwd($archive_hash, $dgithead)) {
# ok
} elsif (deliberately_not_fast_forward) {
$forceflag = '+';