mirror of
https://github.com/git/git
synced 2024-10-30 13:20:15 +00:00
f4f476b6a1
Do not change the existing info/refs and objects/info/packs files if they match the existing content on the filesystem. This is intended to preserve mtime and make it easier for dumb HTTP pollers to rely on the If-Modified-Since header. Combined with stdio and kernel buffering; the kernel should be able to avoid block layer writes and reduce wear for small files. As a result, the --force option is no longer needed. So stop documenting it, but let it remain for compatibility (and debugging, if necessary). v3: perform incremental comparison while generating to avoid OOM with giant files. Remove documentation for --force. Signed-off-by: Eric Wong <e@80x24.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
35 lines
715 B
Text
35 lines
715 B
Text
git-update-server-info(1)
|
|
=========================
|
|
|
|
NAME
|
|
----
|
|
git-update-server-info - Update auxiliary info file to help dumb servers
|
|
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[verse]
|
|
'git update-server-info'
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
A dumb server that does not do on-the-fly pack generations must
|
|
have some auxiliary information files in $GIT_DIR/info and
|
|
$GIT_OBJECT_DIRECTORY/info directories to help clients discover
|
|
what references and packs the server has. This command
|
|
generates such auxiliary files.
|
|
|
|
OUTPUT
|
|
------
|
|
|
|
Currently the command updates the following files. Please see
|
|
linkgit:gitrepository-layout[5] for description of
|
|
what they are for:
|
|
|
|
* objects/info/packs
|
|
|
|
* info/refs
|
|
|
|
GIT
|
|
---
|
|
Part of the linkgit:git[1] suite
|