Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 154108

Summary: dev-util/git-1.4.3.3 : diff shows only the filename
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Fernando J. Pereda (RETIRED) <ferdy>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2006-11-05 01:46:47 UTC
tfoerste@n22 ~/devel/linux-2.6 $ git --version
git version 1.4.3.3
tfoerste@n22 ~/devel/linux-2.6 $ git diff
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
tfoerste@n22 ~/devel/linux-2.6 $ ls -l drivers/net/e1000/e1000_main.c
-rw-r--r-- 1 tfoerste users 143362 Nov  5 10:43 drivers/net/e1000/e1000_main.c

Why this file (yes, I edited it but reverted the changes) is displayed without any diff lines ?
BTW LESS is unset.
Comment 1 Fernando J. Pereda (RETIRED) gentoo-dev 2006-11-05 02:15:37 UTC
They somehow differ because timestamps differ, but the content is unchanged. git status will say that nothing changed, and it won't commit anything since there is nothing to commit.

- ferdy