Project

General

Profile

git repository missing commit information

Added by Kai Song almost 10 years ago

Hi,

Redmine has been working out great for us. However, I just found out the git repository in redmine is missing commit information from March. This is very strange. Note, I set up the redmine installation in earlier April.

I cloned the git repo locally with:
git clone --mirror :repo/my-repo.git

The source files and branches are up to date, just missing the commit information since March. I am not sure if I did anything wrong in redmine configuration. I also have nightly fetch via, "cd /git/repo/path/repo.git && git fetch -q --all".

Any help will be greatly appreciated.

Thanks in advance!

Kai


Replies (1)

RE: git repository missing commit information - Added by Martin Denizet (redmine.org team member) almost 10 years ago

Hi Kai,
Maybe you forgot to enable the Redmine commit fetching? See:HowTo setup automatic refresh of repositories in Redmine on commit
You should also try to run your command manually to check for errors:

cd /git/repo/path/repo.git && git fetch --all

Also maybe you could have a look to HowTo simply keep Redmine in sync with GitHub, I didn't test it though.
Cheers,

    (1-1/1)