summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
Diffstat (limited to 'dgit')
-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 = '+';