chiark / gitweb /
solit brain: Do not crash in when the two brains are actually identical.
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 6cdf8d28a699070b84eb0cf1fca283f635ff2f23..5ee61ef95567a5d851f7d8ae4f0f81525ce04cf8 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -3909,7 +3909,7 @@ Commit patch to update .gitignore
 END
     }
 
-    my $dgitview = git_rev_parse 'refs/heads/dgit-view';
+    my $dgitview = git_rev_parse 'HEAD';
 
     changedir '../../../..';
     # When we no longer need to support squeeze, use --create-reflog