Files
git/builtin
Derrick Stolee 283e68c72f commit-graph: add 'verify' subcommand
If the commit-graph file becomes corrupt, we need a way to verify
that its contents match the object database. In the manner of
'git fsck' we will implement a 'git commit-graph verify' subcommand
to report all issues with the file.

Add the 'verify' subcommand to the 'commit-graph' builtin and its
documentation. The subcommand is currently a no-op except for
loading the commit-graph into memory, which may trigger run-time
errors that would be caught by normal use. Add a simple test that
ensures the command returns a zero error code.

If no commit-graph file exists, this is an acceptable state. Do
not report any errors.

Helped-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-06-27 10:27:05 -07:00
..
2018-05-30 14:04:05 +09:00
2018-06-25 13:22:38 -07:00
2017-10-06 10:07:18 +09:00
2018-06-25 13:22:35 -07:00
2018-05-30 14:04:07 +09:00
2018-05-13 10:45:05 +09:00
2017-10-07 16:27:55 +09:00
2018-06-25 13:22:36 -07:00
2018-06-01 15:06:38 +09:00
2018-05-08 15:59:16 +09:00
2018-06-01 15:06:38 +09:00
2018-05-30 14:04:10 +09:00
2018-05-30 14:04:05 +09:00
2018-06-01 15:06:38 +09:00
2018-06-01 15:06:37 +09:00
2018-06-01 15:06:40 +09:00
2018-06-25 13:22:35 -07:00
2018-06-01 15:06:38 +09:00
2018-05-23 14:38:15 +09:00
2018-05-30 14:04:05 +09:00
2018-06-01 15:06:38 +09:00
2018-05-30 14:04:10 +09:00
2018-05-23 14:38:13 +09:00
2018-04-16 13:52:29 +09:00
2018-05-23 14:38:17 +09:00
2018-04-10 08:25:45 +09:00
2017-12-13 11:15:14 -08:00
2018-05-30 14:04:05 +09:00
2018-03-15 12:01:08 -07:00
2018-05-29 00:28:22 +09:00
2018-05-23 14:38:16 +09:00
2018-05-29 17:10:05 +09:00
2018-05-30 14:04:07 +09:00
2018-05-08 15:59:16 +09:00