path: root/Documentation/git-check-files.txt
diff options
Diffstat (limited to 'Documentation/git-check-files.txt')
1 files changed, 48 insertions, 0 deletions
diff --git a/Documentation/git-check-files.txt b/Documentation/git-check-files.txt
new file mode 100644
index 0000000..c56f22f
--- /dev/null
+++ b/Documentation/git-check-files.txt
@@ -0,0 +1,48 @@
+v0.1, May 2005
+git-check-files - Verify a list of files are up-to-date
+'git-check-files' <file>...
+Check that a list of files are up-to-date between the filesystem and
+the cache. Used to verify a patch target before doing a patch.
+Files that do not exist on the filesystem are considered up-to-date
+(whether or not they are in the cache).
+Emits an error message on failure:
+preparing to update existing file <file> not in cache::
+ <file> exists but is not in the cache
+preparing to update file <file> not uptodate in cache::
+ <file> on disk is not up-to-date with the cache
+Exits with a status code indicating success if all files are
+see also: link:git-update-cache.html[git-update-cache]
+Written by Linus Torvalds <>
+Documentation by David Greaves, Junio C Hamano and the git-list <>.
+Part of the link:git.html[git] suite