{"action":"created","issue":{"url":"https://api.github.com/repos/OpenGrok/OpenGrok/issues/985","labels_url":"https://api.github.com/repos/OpenGrok/OpenGrok/issues/985/labels{/name}","comments_url":"https://api.github.com/repos/OpenGrok/OpenGrok/issues/985/comments","events_url":"https://api.github.com/repos/OpenGrok/OpenGrok/issues/985/events","html_url":"https://github.com/OpenGrok/OpenGrok/issues/985","id":103992433,"number":985,"title":"Error reading from a git log","user":{"login":"bond-","id":776647,"avatar_url":"https://avatars.githubusercontent.com/u/776647?v=3","gravatar_id":"","url":"https://api.github.com/users/bond-","html_url":"https://github.com/bond-","followers_url":"https://api.github.com/users/bond-/followers","following_url":"https://api.github.com/users/bond-/following{/other_user}","gists_url":"https://api.github.com/users/bond-/gists{/gist_id}","starred_url":"https://api.github.com/users/bond-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bond-/subscriptions","organizations_url":"https://api.github.com/users/bond-/orgs","repos_url":"https://api.github.com/users/bond-/repos","events_url":"https://api.github.com/users/bond-/events{/privacy}","received_events_url":"https://api.github.com/users/bond-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-31T05:53:05Z","updated_at":"2015-08-31T06:20:02Z","closed_at":null,"body":"git version 1.9.1\r\n\r\nThe command error given in below stacktrace works properly if I execute manually from command line and opens it in a \"less\" command view. Now sure why it throwed a exit status -1 error.\r\n\r\nPlease check\r\n\r\n```\r\n11:18:03 WARNING: Non-zero exit status -1 from command [/usr/bin/git, log, --abbrev-commit, --abbrev=8, --name-only, --pretty=fuller] in directory /path/to/project\r\n11:18:03 WARNING: An error occured while creating cache for /path/to/project (GitRepository)\r\norg.opensolaris.opengrok.history.HistoryException: Failed to get history for: \"/path/to/project\" Exit code: -1\r\n\tat org.opensolaris.opengrok.history.GitHistoryParser.parse(GitHistoryParser.java:156)\r\n\tat org.opensolaris.opengrok.history.GitRepository.getHistory(GitRepository.java:406)\r\n\tat org.opensolaris.opengrok.history.Repository.createCache(Repository.java:296)\r\n\tat org.opensolaris.opengrok.history.HistoryGuru.createCache(HistoryGuru.java:495)\r\n\tat org.opensolaris.opengrok.history.HistoryGuru.access$000(HistoryGuru.java:53)\r\n\tat org.opensolaris.opengrok.history.HistoryGuru$1.run(HistoryGuru.java:545)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```"},"comment":{"url":"https://api.github.com/repos/OpenGrok/OpenGrok/issues/comments/136278019","html_url":"https://github.com/OpenGrok/OpenGrok/issues/985#issuecomment-136278019","issue_url":"https://api.github.com/repos/OpenGrok/OpenGrok/issues/985","id":136278019,"user":{"login":"bond-","id":776647,"avatar_url":"https://avatars.githubusercontent.com/u/776647?v=3","gravatar_id":"","url":"https://api.github.com/users/bond-","html_url":"https://github.com/bond-","followers_url":"https://api.github.com/users/bond-/followers","following_url":"https://api.github.com/users/bond-/following{/other_user}","gists_url":"https://api.github.com/users/bond-/gists{/gist_id}","starred_url":"https://api.github.com/users/bond-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bond-/subscriptions","organizations_url":"https://api.github.com/users/bond-/orgs","repos_url":"https://api.github.com/users/bond-/repos","events_url":"https://api.github.com/users/bond-/events{/privacy}","received_events_url":"https://api.github.com/users/bond-/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T06:20:02Z","updated_at":"2015-08-31T06:20:02Z","body":"What I did was\r\n1. Created a index around 3 months ago on git repos\r\n2. Ran the command `./OpenGrok index /path/to/old/root-of-project`\r\n3. Today I pulled the latest from git from all projects\r\n4. Moved the repos to a different directory\r\n5. Ran the command `./OpenGrok index /path/to/new/root-of-project`\r\n\r\nAnd the errors are popping up. Do I need to follow a different procedure for reindexing?"}}