[PATCH 1/4] split core-git.txt and update
[git/gitweb.git] / Documentation / git-check-files.txt
blobc56f22f92da826c592c49fa51eecdfaf7696a37f
1 git-check-files(1)
2 ==================
3 v0.1, May 2005
5 NAME
6 ----
7 git-check-files - Verify a list of files are up-to-date
11 SYNOPSIS
12 --------
13 'git-check-files' <file>...
15 DESCRIPTION
16 -----------
17 Check that a list of files are up-to-date between the filesystem and
18 the cache. Used to verify a patch target before doing a patch.
20 Files that do not exist on the filesystem are considered up-to-date
21 (whether or not they are in the cache).
23 Emits an error message on failure:
25 preparing to update existing file <file> not in cache::
26           <file> exists but is not in the cache
28 preparing to update file <file> not uptodate in cache::
29           <file> on disk is not up-to-date with the cache
31 Exits with a status code indicating success if all files are
32 up-to-date.
34 see also: link:git-update-cache.html[git-update-cache]
37 Author
38 ------
39 Written by Linus Torvalds <torvalds@osdl.org>
41 Documentation
42 --------------
43 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
45 GIT
46 ---
47 Part of the link:git.html[git] suite