{"thread":{"id":"4160","subject":"newbie question","startedAt":"2006-05-16T07:03:27Z","lastAt":"2006-05-16T07:09:15Z","messageCount":2,"participants":["Li Yang-r58472","Matthias Kestenholz"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"20052","messageId":"9FCDBA58F226D911B202000BDBAD467308146E@zch01exm40.ap.freescale.net","threadId":"4160","inReplyTo":null,"subject":"newbie question","fromName":"Li Yang-r58472","fromEmail":"leoli@freescale.com","sentAt":"2006-05-16T07:03:27Z","receivedAt":"2006-05-16T07:03:27Z","isPatch":false,"sender":{"key":"leoli@freescale.com","avatar":null},"body":"I just starting to use git recently.  I have setup a public repository, and pushed cloned open source repository to it.  As most documents suggested, I need to run a repack on the public repository.  Normally git-repack is run in the source directory(the parent directory of .git).  Considering the public repository, there is no source directory and the *.git is the uppest level directory.  Where am I supposed to run the git-repack command?\n"},{"id":"20053","messageId":"20060516070915.GA4680@spinlock.ch","threadId":"4160","inReplyTo":"9FCDBA58F226D911B202000BDBAD467308146E@zch01exm40.ap.freescale.net","subject":"Re: newbie question","fromName":"Matthias Kestenholz","fromEmail":"lists@spinlock.ch","sentAt":"2006-05-16T07:09:15Z","receivedAt":"2006-05-16T07:09:15Z","isPatch":false,"sender":{"key":"lists@spinlock.ch","avatar":null},"body":"Hello,\n\n* Li Yang-r58472 (LeoLi@freescale.com) wrote:\n> I just starting to use git recently.  I have setup a public repository,\n> and pushed cloned open source repository to it.  As most documents \n> suggested, I need to run a repack on the public repository.  Normally \n> git-repack is run in the source directory(the parent directory of .git).  \n> Considering the public repository, there is no source directory and the\n> *.git is the uppest level directory.  Where am I supposed to run the\n> git-repack command?\n\nDo it like that:\n\n$ ls\nproject.git\n$ GIT_DIR=project.git git-repack -a -d\n"}]}