logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

git-fsck.1 (18689B)


  1. '\" t
  2. .\" Title: git-fsck
  3. .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
  4. .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
  5. .\" Date: 2025-03-14
  6. .\" Manual: Git Manual
  7. .\" Source: Git 2.49.0
  8. .\" Language: English
  9. .\"
  10. .TH "GIT\-FSCK" "1" "2025-03-14" "Git 2\&.49\&.0" "Git Manual"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. git-fsck \- Verifies the connectivity and validity of the objects in the database
  32. .SH "SYNOPSIS"
  33. .sp
  34. .nf
  35. \fIgit fsck\fR [\-\-tags] [\-\-root] [\-\-unreachable] [\-\-cache] [\-\-no\-reflogs]
  36. [\-\-[no\-]full] [\-\-strict] [\-\-verbose] [\-\-lost\-found]
  37. [\-\-[no\-]dangling] [\-\-[no\-]progress] [\-\-connectivity\-only]
  38. [\-\-[no\-]name\-objects] [<object>\&...\:]
  39. .fi
  40. .SH "DESCRIPTION"
  41. .sp
  42. Verifies the connectivity and validity of the objects in the database\&.
  43. .SH "OPTIONS"
  44. .PP
  45. <object>
  46. .RS 4
  47. An object to treat as the head of an unreachability trace\&.
  48. .sp
  49. If no objects are given,
  50. \fIgit fsck\fR
  51. defaults to using the index file, all SHA\-1 references in the
  52. \fBrefs\fR
  53. namespace, and all reflogs (unless \-\-no\-reflogs is given) as heads\&.
  54. .RE
  55. .PP
  56. \-\-unreachable
  57. .RS 4
  58. Print out objects that exist but that aren\(cqt reachable from any of the reference nodes\&.
  59. .RE
  60. .PP
  61. \-\-[no\-]dangling
  62. .RS 4
  63. Print objects that exist but that are never
  64. \fIdirectly\fR
  65. used (default)\&.
  66. \fB\-\-no\-dangling\fR
  67. can be used to omit this information from the output\&.
  68. .RE
  69. .PP
  70. \-\-root
  71. .RS 4
  72. Report root nodes\&.
  73. .RE
  74. .PP
  75. \-\-tags
  76. .RS 4
  77. Report tags\&.
  78. .RE
  79. .PP
  80. \-\-cache
  81. .RS 4
  82. Consider any object recorded in the index also as a head node for an unreachability trace\&.
  83. .RE
  84. .PP
  85. \-\-no\-reflogs
  86. .RS 4
  87. Do not consider commits that are referenced only by an entry in a reflog to be reachable\&. This option is meant only to search for commits that used to be in a ref, but now aren\(cqt, but are still in that corresponding reflog\&.
  88. .RE
  89. .PP
  90. \-\-full
  91. .RS 4
  92. Check not just objects in GIT_OBJECT_DIRECTORY ($GIT_DIR/objects), but also the ones found in alternate object pools listed in GIT_ALTERNATE_OBJECT_DIRECTORIES or $GIT_DIR/objects/info/alternates, and in packed Git archives found in $GIT_DIR/objects/pack and corresponding pack subdirectories in alternate object pools\&. This is now default; you can turn it off with \-\-no\-full\&.
  93. .RE
  94. .PP
  95. \-\-connectivity\-only
  96. .RS 4
  97. Check only the connectivity of reachable objects, making sure that any objects referenced by a reachable tag, commit, or tree are present\&. This speeds up the operation by avoiding reading blobs entirely (though it does still check that referenced blobs exist)\&. This will detect corruption in commits and trees, but not do any semantic checks (e\&.g\&., for format errors)\&. Corruption in blob objects will not be detected at all\&.
  98. .sp
  99. Unreachable tags, commits, and trees will also be accessed to find the tips of dangling segments of history\&. Use
  100. \fB\-\-no\-dangling\fR
  101. if you don\(cqt care about this output and want to speed it up further\&.
  102. .RE
  103. .PP
  104. \-\-strict
  105. .RS 4
  106. Enable more strict checking, namely to catch a file mode recorded with g+w bit set, which was created by older versions of Git\&. Existing repositories, including the Linux kernel, Git itself, and sparse repository have old objects that trigger this check, but it is recommended to check new projects with this flag\&.
  107. .RE
  108. .PP
  109. \-\-verbose
  110. .RS 4
  111. Be chatty\&.
  112. .RE
  113. .PP
  114. \-\-lost\-found
  115. .RS 4
  116. Write dangling objects into \&.git/lost\-found/commit/ or \&.git/lost\-found/other/, depending on type\&. If the object is a blob, the contents are written into the file, rather than its object name\&.
  117. .RE
  118. .PP
  119. \-\-name\-objects
  120. .RS 4
  121. When displaying names of reachable objects, in addition to the SHA\-1 also display a name that describes
  122. \fBhow\fR
  123. they are reachable, compatible with
  124. \fBgit-rev-parse\fR(1), e\&.g\&.
  125. \fBHEAD@\fR{1234567890}~25^2:src/\&.
  126. .RE
  127. .PP
  128. \-\-[no\-]progress
  129. .RS 4
  130. Progress status is reported on the standard error stream by default when it is attached to a terminal, unless \-\-no\-progress or \-\-verbose is specified\&. \-\-progress forces progress status even if the standard error stream is not directed to a terminal\&.
  131. .RE
  132. .SH "CONFIGURATION"
  133. .sp
  134. Everything below this line in this section is selectively included from the \fBgit-config\fR(1) documentation\&. The content is the same as what\(cqs found there:
  135. .PP
  136. fsck\&.<msg\-id>
  137. .RS 4
  138. During fsck git may find issues with legacy data which wouldn\(cqt be generated by current versions of git, and which wouldn\(cqt be sent over the wire if
  139. \fBtransfer\&.fsckObjects\fR
  140. was set\&. This feature is intended to support working with legacy repositories containing such data\&.
  141. .sp
  142. Setting
  143. \fBfsck\&.\fR\fI<msg\-id>\fR
  144. will be picked up by
  145. \fBgit-fsck\fR(1), but to accept pushes of such data set
  146. \fBreceive\&.fsck\&.\fR\fI<msg\-id>\fR
  147. instead, or to clone or fetch it set
  148. \fBfetch\&.fsck\&.\fR\fI<msg\-id>\fR\&.
  149. .sp
  150. The rest of the documentation discusses
  151. \fBfsck\&.\fR* for brevity, but the same applies for the corresponding
  152. \fBreceive\&.fsck\&.\fR* and
  153. \fBfetch\&.fsck\&.\fR*\&. variables\&.
  154. .sp
  155. Unlike variables like
  156. \fBcolor\&.ui\fR
  157. and
  158. \fBcore\&.editor\fR, the
  159. \fBreceive\&.fsck\&.\fR\fI<msg\-id>\fR
  160. and
  161. \fBfetch\&.fsck\&.\fR\fI<msg\-id>\fR
  162. variables will not fall back on the
  163. \fBfsck\&.\fR\fI<msg\-id>\fR
  164. configuration if they aren\(cqt set\&. To uniformly configure the same fsck settings in different circumstances, all three of them must be set to the same values\&.
  165. .sp
  166. When
  167. \fBfsck\&.\fR\fI<msg\-id>\fR
  168. is set, errors can be switched to warnings and vice versa by configuring the
  169. \fBfsck\&.\fR\fI<msg\-id>\fR
  170. setting where the
  171. \fI<msg\-id>\fR
  172. is the fsck message ID and the value is one of
  173. \fBerror\fR,
  174. \fBwarn\fR
  175. or
  176. \fBignore\fR\&. For convenience, fsck prefixes the error/warning with the message ID, e\&.g\&. "missingEmail: invalid author/committer line \- missing email" means that setting
  177. \fBfsck\&.missingEmail\fR
  178. \fB=\fR
  179. \fBignore\fR
  180. will hide that issue\&.
  181. .sp
  182. In general, it is better to enumerate existing objects with problems with
  183. \fBfsck\&.skipList\fR, instead of listing the kind of breakages these problematic objects share to be ignored, as doing the latter will allow new instances of the same breakages go unnoticed\&.
  184. .sp
  185. Setting an unknown
  186. \fBfsck\&.\fR\fI<msg\-id>\fR
  187. value will cause fsck to die, but doing the same for
  188. \fBreceive\&.fsck\&.\fR\fI<msg\-id>\fR
  189. and
  190. \fBfetch\&.fsck\&.\fR\fI<msg\-id>\fR
  191. will only cause git to warn\&.
  192. .sp
  193. See the
  194. \fBFsck\fR
  195. \fBMessages\fR
  196. section of
  197. \fBgit-fsck\fR(1)
  198. for supported values of
  199. \fI<msg\-id>\fR\&.
  200. .RE
  201. .PP
  202. fsck\&.skipList
  203. .RS 4
  204. The path to a list of object names (i\&.e\&. one unabbreviated SHA\-1 per line) that are known to be broken in a non\-fatal way and should be ignored\&. On versions of Git 2\&.20 and later, comments (\fI#\fR), empty lines, and any leading and trailing whitespace are ignored\&. Everything but a SHA\-1 per line will error out on older versions\&.
  205. .sp
  206. This feature is useful when an established project should be accepted despite early commits containing errors that can be safely ignored, such as invalid committer email addresses\&. Note: corrupt objects cannot be skipped with this setting\&.
  207. .sp
  208. Like
  209. \fBfsck\&.\fR\fI<msg\-id>\fR
  210. this variable has corresponding
  211. \fBreceive\&.fsck\&.skipList\fR
  212. and
  213. \fBfetch\&.fsck\&.skipList\fR
  214. variants\&.
  215. .sp
  216. Unlike variables like
  217. \fBcolor\&.ui\fR
  218. and
  219. \fBcore\&.editor\fR
  220. the
  221. \fBreceive\&.fsck\&.skipList\fR
  222. and
  223. \fBfetch\&.fsck\&.skipList\fR
  224. variables will not fall back on the
  225. \fBfsck\&.skipList\fR
  226. configuration if they aren\(cqt set\&. To uniformly configure the same fsck settings in different circumstances, all three of them must be set to the same values\&.
  227. .sp
  228. Older versions of Git (before 2\&.20) documented that the object names list should be sorted\&. This was never a requirement; the object names could appear in any order, but when reading the list we tracked whether the list was sorted for the purposes of an internal binary search implementation, which could save itself some work with an already sorted list\&. Unless you had a humongous list there was no reason to go out of your way to pre\-sort the list\&. After Git version 2\&.20 a hash implementation is used instead, so there\(cqs now no reason to pre\-sort the list\&.
  229. .RE
  230. .SH "DISCUSSION"
  231. .sp
  232. git\-fsck tests SHA\-1 and general object sanity, and it does full tracking of the resulting reachability and everything else\&. It prints out any corruption it finds (missing or bad objects), and if you use the \fB\-\-unreachable\fR flag it will also print out objects that exist but that aren\(cqt reachable from any of the specified head nodes (or the default set, as mentioned above)\&.
  233. .sp
  234. Any corrupt objects you will have to find in backups or other archives (i\&.e\&., you can just remove them and do an \fIrsync\fR with some other site in the hopes that somebody else has the object you have corrupted)\&.
  235. .sp
  236. If core\&.commitGraph is true, the commit\-graph file will also be inspected using \fIgit commit\-graph verify\fR\&. See \fBgit-commit-graph\fR(1)\&.
  237. .SH "EXTRACTED DIAGNOSTICS"
  238. .PP
  239. unreachable <type> <object>
  240. .RS 4
  241. The <type> object <object>, isn\(cqt actually referred to directly or indirectly in any of the trees or commits seen\&. This can mean that there\(cqs another root node that you\(cqre not specifying or that the tree is corrupt\&. If you haven\(cqt missed a root node then you might as well delete unreachable nodes since they can\(cqt be used\&.
  242. .RE
  243. .PP
  244. missing <type> <object>
  245. .RS 4
  246. The <type> object <object>, is referred to but isn\(cqt present in the database\&.
  247. .RE
  248. .PP
  249. dangling <type> <object>
  250. .RS 4
  251. The <type> object <object>, is present in the database but never
  252. \fIdirectly\fR
  253. used\&. A dangling commit could be a root node\&.
  254. .RE
  255. .PP
  256. hash mismatch <object>
  257. .RS 4
  258. The database has an object whose hash doesn\(cqt match the object database value\&. This indicates a serious data integrity problem\&.
  259. .RE
  260. .SH "FSCK MESSAGES"
  261. .sp
  262. The following lists the types of errors \fBgit\fR \fBfsck\fR detects and what each error means, with their default severity\&. The severity of the error, other than those that are marked as "(FATAL)", can be tweaked by setting the corresponding \fBfsck\&.\fR\fI<msg\-id>\fR configuration variable\&.
  263. .PP
  264. \fBbadDate\fR
  265. .RS 4
  266. (ERROR) Invalid date format in an author/committer line\&.
  267. .RE
  268. .PP
  269. \fBbadDateOverflow\fR
  270. .RS 4
  271. (ERROR) Invalid date value in an author/committer line\&.
  272. .RE
  273. .PP
  274. \fBbadEmail\fR
  275. .RS 4
  276. (ERROR) Invalid email format in an author/committer line\&.
  277. .RE
  278. .PP
  279. \fBbadFilemode\fR
  280. .RS 4
  281. (INFO) A tree contains a bad filemode entry\&.
  282. .RE
  283. .PP
  284. \fBbadName\fR
  285. .RS 4
  286. (ERROR) An author/committer name is empty\&.
  287. .RE
  288. .PP
  289. \fBbadObjectSha1\fR
  290. .RS 4
  291. (ERROR) An object has a bad sha1\&.
  292. .RE
  293. .PP
  294. \fBbadParentSha1\fR
  295. .RS 4
  296. (ERROR) A commit object has a bad parent sha1\&.
  297. .RE
  298. .PP
  299. \fBbadRefContent\fR
  300. .RS 4
  301. (ERROR) A ref has bad content\&.
  302. .RE
  303. .PP
  304. \fBbadRefFiletype\fR
  305. .RS 4
  306. (ERROR) A ref has a bad file type\&.
  307. .RE
  308. .PP
  309. \fBbadRefName\fR
  310. .RS 4
  311. (ERROR) A ref has an invalid format\&.
  312. .RE
  313. .PP
  314. \fBbadReferentName\fR
  315. .RS 4
  316. (ERROR) The referent name of a symref is invalid\&.
  317. .RE
  318. .PP
  319. \fBbadTagName\fR
  320. .RS 4
  321. (INFO) A tag has an invalid format\&.
  322. .RE
  323. .PP
  324. \fBbadTimezone\fR
  325. .RS 4
  326. (ERROR) Found an invalid time zone in an author/committer line\&.
  327. .RE
  328. .PP
  329. \fBbadTree\fR
  330. .RS 4
  331. (ERROR) A tree cannot be parsed\&.
  332. .RE
  333. .PP
  334. \fBbadTreeSha1\fR
  335. .RS 4
  336. (ERROR) A tree has an invalid format\&.
  337. .RE
  338. .PP
  339. \fBbadType\fR
  340. .RS 4
  341. (ERROR) Found an invalid object type\&.
  342. .RE
  343. .PP
  344. \fBduplicateEntries\fR
  345. .RS 4
  346. (ERROR) A tree contains duplicate file entries\&.
  347. .RE
  348. .PP
  349. \fBemptyName\fR
  350. .RS 4
  351. (WARN) A path contains an empty name\&.
  352. .RE
  353. .PP
  354. \fBextraHeaderEntry\fR
  355. .RS 4
  356. (IGNORE) Extra headers found after
  357. \fBtagger\fR\&.
  358. .RE
  359. .PP
  360. \fBfullPathname\fR
  361. .RS 4
  362. (WARN) A path contains the full path starting with "/"\&.
  363. .RE
  364. .PP
  365. \fBgitattributesBlob\fR
  366. .RS 4
  367. (ERROR) A non\-blob found at \&.\fBgitattributes\fR\&.
  368. .RE
  369. .PP
  370. \fBgitattributesLarge\fR
  371. .RS 4
  372. (ERROR) The \&.\fBgitattributes\fR
  373. blob is too large\&.
  374. .RE
  375. .PP
  376. \fBgitattributesLineLength\fR
  377. .RS 4
  378. (ERROR) The \&.\fBgitattributes\fR
  379. blob contains too long lines\&.
  380. .RE
  381. .PP
  382. \fBgitattributesMissing\fR
  383. .RS 4
  384. (ERROR) Unable to read \&.\fBgitattributes\fR
  385. blob\&.
  386. .RE
  387. .PP
  388. \fBgitattributesSymlink\fR
  389. .RS 4
  390. (INFO) \&.\fBgitattributes\fR
  391. is a symlink\&.
  392. .RE
  393. .PP
  394. \fBgitignoreSymlink\fR
  395. .RS 4
  396. (INFO) \&.\fBgitignore\fR
  397. is a symlink\&.
  398. .RE
  399. .PP
  400. \fBgitmodulesBlob\fR
  401. .RS 4
  402. (ERROR) A non\-blob found at \&.\fBgitmodules\fR\&.
  403. .RE
  404. .PP
  405. \fBgitmodulesLarge\fR
  406. .RS 4
  407. (ERROR) The \&.\fBgitmodules\fR
  408. file is too large to parse\&.
  409. .RE
  410. .PP
  411. \fBgitmodulesMissing\fR
  412. .RS 4
  413. (ERROR) Unable to read \&.\fBgitmodules\fR
  414. blob\&.
  415. .RE
  416. .PP
  417. \fBgitmodulesName\fR
  418. .RS 4
  419. (ERROR) A submodule name is invalid\&.
  420. .RE
  421. .PP
  422. \fBgitmodulesParse\fR
  423. .RS 4
  424. (INFO) Could not parse \&.\fBgitmodules\fR
  425. blob\&.
  426. .RE
  427. .sp
  428. \fBgitmodulesLarge\fR; (ERROR) \&.\fBgitmodules\fR blob is too large to parse\&.
  429. .PP
  430. \fBgitmodulesPath\fR
  431. .RS 4
  432. (ERROR) \&.\fBgitmodules\fR
  433. path is invalid\&.
  434. .RE
  435. .PP
  436. \fBgitmodulesSymlink\fR
  437. .RS 4
  438. (ERROR) \&.\fBgitmodules\fR
  439. is a symlink\&.
  440. .RE
  441. .PP
  442. \fBgitmodulesUpdate\fR
  443. .RS 4
  444. (ERROR) Found an invalid submodule update setting\&.
  445. .RE
  446. .PP
  447. \fBgitmodulesUrl\fR
  448. .RS 4
  449. (ERROR) Found an invalid submodule url\&.
  450. .RE
  451. .PP
  452. \fBhasDot\fR
  453. .RS 4
  454. (WARN) A tree contains an entry named \&.\&.
  455. .RE
  456. .PP
  457. \fBhasDotdot\fR
  458. .RS 4
  459. (WARN) A tree contains an entry named \&.\&.\&.
  460. .RE
  461. .PP
  462. \fBhasDotgit\fR
  463. .RS 4
  464. (WARN) A tree contains an entry named \&.\fBgit\fR\&.
  465. .RE
  466. .PP
  467. \fBlargePathname\fR
  468. .RS 4
  469. (WARN) A tree contains an entry with a very long path name\&. If the value of
  470. \fBfsck\&.largePathname\fR
  471. contains a colon, that value is used as the maximum allowable length (e\&.g\&., "warn:10" would complain about any path component of 11 or more bytes)\&. The default value is 4096\&.
  472. .RE
  473. .PP
  474. \fBmailmapSymlink\fR
  475. .RS 4
  476. (INFO) \&.\fBmailmap\fR
  477. is a symlink\&.
  478. .RE
  479. .PP
  480. \fBmissingAuthor\fR
  481. .RS 4
  482. (ERROR) Author is missing\&.
  483. .RE
  484. .PP
  485. \fBmissingCommitter\fR
  486. .RS 4
  487. (ERROR) Committer is missing\&.
  488. .RE
  489. .PP
  490. \fBmissingEmail\fR
  491. .RS 4
  492. (ERROR) Email is missing in an author/committer line\&.
  493. .RE
  494. .PP
  495. \fBmissingNameBeforeEmail\fR
  496. .RS 4
  497. (ERROR) Missing name before an email in an author/committer line\&.
  498. .RE
  499. .PP
  500. \fBmissingObject\fR
  501. .RS 4
  502. (ERROR) Missing
  503. \fBobject\fR
  504. line in tag object\&.
  505. .RE
  506. .PP
  507. \fBmissingSpaceBeforeDate\fR
  508. .RS 4
  509. (ERROR) Missing space before date in an author/committer line\&.
  510. .RE
  511. .PP
  512. \fBmissingSpaceBeforeEmail\fR
  513. .RS 4
  514. (ERROR) Missing space before the email in an author/committer line\&.
  515. .RE
  516. .PP
  517. \fBmissingTag\fR
  518. .RS 4
  519. (ERROR) Unexpected end after
  520. \fBtype\fR
  521. line in a tag object\&.
  522. .RE
  523. .PP
  524. \fBmissingTagEntry\fR
  525. .RS 4
  526. (ERROR) Missing
  527. \fBtag\fR
  528. line in a tag object\&.
  529. .RE
  530. .PP
  531. \fBmissingTaggerEntry\fR
  532. .RS 4
  533. (INFO) Missing
  534. \fBtagger\fR
  535. line in a tag object\&.
  536. .RE
  537. .PP
  538. \fBmissingTree\fR
  539. .RS 4
  540. (ERROR) Missing
  541. \fBtree\fR
  542. line in a commit object\&.
  543. .RE
  544. .PP
  545. \fBmissingType\fR
  546. .RS 4
  547. (ERROR) Invalid type value on the
  548. \fBtype\fR
  549. line in a tag object\&.
  550. .RE
  551. .PP
  552. \fBmissingTypeEntry\fR
  553. .RS 4
  554. (ERROR) Missing
  555. \fBtype\fR
  556. line in a tag object\&.
  557. .RE
  558. .PP
  559. \fBmultipleAuthors\fR
  560. .RS 4
  561. (ERROR) Multiple author lines found in a commit\&.
  562. .RE
  563. .PP
  564. \fBnulInCommit\fR
  565. .RS 4
  566. (WARN) Found a NUL byte in the commit object body\&.
  567. .RE
  568. .PP
  569. \fBnulInHeader\fR
  570. .RS 4
  571. (FATAL) NUL byte exists in the object header\&.
  572. .RE
  573. .PP
  574. \fBnullSha1\fR
  575. .RS 4
  576. (WARN) Tree contains entries pointing to a null sha1\&.
  577. .RE
  578. .PP
  579. \fBrefMissingNewline\fR
  580. .RS 4
  581. (INFO) A loose ref that does not end with newline(LF)\&. As valid implementations of Git never created such a loose ref file, it may become an error in the future\&. Report to the
  582. \m[blue]\fBgit@vger\&.kernel\&.org\fR\m[]\&\s-2\u[1]\d\s+2
  583. mailing list if you see this error, as we need to know what tools created such a file\&.
  584. .RE
  585. .PP
  586. \fBsymlinkRef\fR
  587. .RS 4
  588. (INFO) A symbolic link is used as a symref\&. Report to the
  589. \m[blue]\fBgit@vger\&.kernel\&.org\fR\m[]\&\s-2\u[1]\d\s+2
  590. mailing list if you see this error, as we are assessing the feasibility of dropping the support to drop creating symbolic links as symrefs\&.
  591. .RE
  592. .PP
  593. \fBsymrefTargetIsNotARef\fR
  594. .RS 4
  595. (INFO) The target of a symbolic reference points neither to a root reference nor to a reference starting with "refs/"\&. Although we allow create a symref pointing to the referent which is outside the "ref" by using
  596. \fBgit\fR
  597. \fBsymbolic\-ref\fR, we may tighten the rule in the future\&. Report to the
  598. \m[blue]\fBgit@vger\&.kernel\&.org\fR\m[]\&\s-2\u[1]\d\s+2
  599. mailing list if you see this error, as we need to know what tools created such a file\&.
  600. .RE
  601. .PP
  602. \fBtrailingRefContent\fR
  603. .RS 4
  604. (INFO) A loose ref has trailing content\&. As valid implementations of Git never created such a loose ref file, it may become an error in the future\&. Report to the
  605. \m[blue]\fBgit@vger\&.kernel\&.org\fR\m[]\&\s-2\u[1]\d\s+2
  606. mailing list if you see this error, as we need to know what tools created such a file\&.
  607. .RE
  608. .PP
  609. \fBtreeNotSorted\fR
  610. .RS 4
  611. (ERROR) A tree is not properly sorted\&.
  612. .RE
  613. .PP
  614. \fBunknownType\fR
  615. .RS 4
  616. (ERROR) Found an unknown object type\&.
  617. .RE
  618. .PP
  619. \fBunterminatedHeader\fR
  620. .RS 4
  621. (FATAL) Missing end\-of\-line in the object header\&.
  622. .RE
  623. .PP
  624. \fBzeroPaddedDate\fR
  625. .RS 4
  626. (ERROR) Found a zero padded date in an author/committer line\&.
  627. .RE
  628. .PP
  629. \fBzeroPaddedFilemode\fR
  630. .RS 4
  631. (WARN) Found a zero padded filemode in a tree\&.
  632. .RE
  633. .SH "ENVIRONMENT VARIABLES"
  634. .PP
  635. GIT_OBJECT_DIRECTORY
  636. .RS 4
  637. used to specify the object database root (usually $GIT_DIR/objects)
  638. .RE
  639. .PP
  640. GIT_INDEX_FILE
  641. .RS 4
  642. used to specify the index file of the index
  643. .RE
  644. .PP
  645. GIT_ALTERNATE_OBJECT_DIRECTORIES
  646. .RS 4
  647. used to specify additional object database roots (usually unset)
  648. .RE
  649. .SH "GIT"
  650. .sp
  651. Part of the \fBgit\fR(1) suite
  652. .SH "NOTES"
  653. .IP " 1." 4
  654. git@vger.kernel.org
  655. .RS 4
  656. \%mailto:git@vger.kernel.org
  657. .RE