Do a cross-project merge of Paul Mackerras' gitk visualizer
[git/git.git] / Documentation / git-check-files.txt
1 git-check-files(1)
2 ==================
3 v0.1, May 2005
4
5 NAME
6 ----
7 git-check-files - Verify a list of files are up-to-date
8
9
10
11 SYNOPSIS
12 --------
13 'git-check-files' <file>...
14
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.
19
20 Files that do not exist on the filesystem are considered up-to-date
21 (whether or not they are in the cache).
22
23 Emits an error message on failure:
24
25 preparing to update existing file <file> not in cache::
26 <file> exists but is not in the cache
27
28 preparing to update file <file> not uptodate in cache::
29 <file> on disk is not up-to-date with the cache
30
31 Exits with a status code indicating success if all files are
32 up-to-date.
33
34 See Also
35 --------
36 link:git-update-cache.html[git-update-cache]
37
38
39 Author
40 ------
41 Written by Linus Torvalds <torvalds@osdl.org>
42
43 Documentation
44 --------------
45 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
46
47 GIT
48 ---
49 Part of the link:git.html[git] suite
50