1CG-ADMIN-LSOBJ(1) CG-ADMIN-LSOBJ(1)
2
3
4
6 cg-admin-lsobj - list unpacked objects in the repository
7
9 cg-admin-lsobj [OBJECT_TYPE]
10
11
13 Lists IDs of all the objects of a given type found in the dircache.
14 Takes the object type as the first parameter, defaults to all objects.
15
16 WARNING! This command does not list packed objects, so its usefulness
17 is rather limited right now. That's a big TODO.
18
19 The possible object types are:
20
21
22 blob This object is a pure storage object containing some user data.
23
24 commit This object ties directory hierarchies together into a DAG of
25 revisions.
26
27 tree This object is an object that ties one or more blob objects into
28 a directory structure.
29
30 tag This object ties a symbolic release tag to an object in the
31 database. See the git README for more information about the
32 object types.
33
34
36 -h, --help
37 Print usage summary.
38
39 --long-help
40 Print user manual. The same as found in cg-admin-lsobj(1).
41
43 Oh, I was messing with my HEADs and lost few commits, where on the
44 earth could they be...?
45
46
47 for i in `cg-admin-lsobj commit | cut -f 1`; do
48 echo -e "\n==================\nme $i"; cat-file commit $i;
49 done
50
52 Copyright © Randy Dunlap, 2005 Copyright © Petr Baudis, 2005
53
54
56 cg-admin-lsobj is part of cogito(7), a toolkit for managing git(7)
57 trees.
58
59
60
61
62 12/11/2006 CG-ADMIN-LSOBJ(1)