swh:1:snp:47f1e8bb459169b0feb652a9c3d9cbabd8526d4a
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
Tip revision: 84d06cdc06389ae7c462434cb7b1db0980f63860 authored by Junio C Hamano on 26 March 2021, 21:59:47 UTC
Sync with v2.31.1
Tip revision: 84d06cd
File Mode Size
lib
macosx
po
windows
.gitignore -rw-r--r-- 97 bytes
GIT-VERSION-GEN -rwxr-xr-x 1.8 KB
Makefile -rw-r--r-- 9.8 KB
git-gui.sh -rwxr-xr-x 68.3 KB

back to top