Skip to content

Commit 1880c38

Browse files
author
Stephen Kennedy
committed
Bug 502716 – git: diff against the HEAD
svn path=/trunk/; revision=966
1 parent 1010128 commit 1880c38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vc/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(self, location):
5050
def commit_command(self, message):
5151
return [self.CMD,"commit","-m",message]
5252
def diff_command(self):
53-
return [self.CMD,"diff"]
53+
return [self.CMD,"diff","HEAD"]
5454
def update_command(self):
5555
return [self.CMD,"pull"]
5656
def add_command(self, binary=0):

0 commit comments

Comments
 (0)