Revision a41e45ea1ccc88b4b13af16434c79ffe65ba978a authored by Shawn O. Pearce on 16 January 2008, 06:29:39 UTC, committed by Shawn O. Pearce on 16 January 2008, 06:29:39 UTC
If we apply a hunk in either direction this may change the file's
status.  For example if a file is completely unstaged, and has at
least two hunks in it and the user stages one hunk the file will
change from "Modified, not staged" to "Portions staged for commit".

Resetting the file path causes our trace on this variable to fire;
that trace is used to update the file header in the diff viewer to
the file's current status.

Noticed by Johannes Sixt.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
1 parent d36a8f7
History
File Mode Size
glossary
.gitignore -rw-r--r-- 9 bytes
README -rw-r--r-- 8.3 KB
de.po -rw-r--r-- 47.3 KB
fr.po -rw-r--r-- 46.8 KB
git-gui.pot -rw-r--r-- 31.7 KB
hu.po -rw-r--r-- 47.4 KB
it.po -rw-r--r-- 46.2 KB
ja.po -rw-r--r-- 48.7 KB
po2msg.sh -rw-r--r-- 2.6 KB
ru.po -rw-r--r-- 55.3 KB
sv.po -rw-r--r-- 44.8 KB
zh_cn.po -rw-r--r-- 33.2 KB

README

back to top