Reported by Frédéric Druilhet, Mar 17, 2010
Hi back, still testing my conf ! When I browse the source code tab, I noticed that some information is missing in other branches than master Information "Age" and "message" is blank. Commit information is shown in the "Change List" of indefero. Age and message are present and the commit is shown when browsing this particular branch. But this information is missing when browsing other branch than master. In fact, in the database, "indefero_idf_scm_cache_git" table is not update when the commit is on another branch than master. In the meanwhile, "indefero_idf_commits" is filled whatever the branch the commit is about. You can check this here : - the 4 first file have commit information: http://code.dr14.cnrs.fr/index.php/p/IndeferoSandbox/source/tree/Test Branch/ - the last one, cloned from master at the branch creation, has kept it's marter's original commit message - commit information is present : http://code.dr14.cnrs.fr/index.php/p/IndeferoSandbox/source/commit/e8 d1d51e033df2d9c1cd90fec03e149f4667d865/ and the 4 files are present. In the meanwhile, on the master branch, I've made a push after that has updated README.md (2nd file) http://code.dr14.cnrs.fr/index.php/p/IndeferoSandbox/source/tree/mast er/ so only pushing to master updates the "indefero_idf_scm_cache_git" table. This renders missing informations.. If it is by design, you should add a little notice on top of the code table, informing that commit message might be missing because we're not on the master branch (or something like that)
Comment 1 by Loïc d'Anterroches, Apr 12, 2010
If really deep in the list of commits, the messages are not always found. If you access a given commit in the past, it is supposed to find it. This is the problem with big repositories which are imported, it cost a lot of computation time to find for a given file when it was last updated.
Summary: Provide a command line way to find all the commit messages of all the files (Git)
Comment 2 by Frédéric Druilhet, Apr 19, 2010
Loïc, the repo is not huge at all. I think that at least, when (web) browsing the source code of a commit in a non-master branch, it could compare information found in indefero_idf_scm_cache_git table and fill it if empty... if this can't be done at commit time...
Comment 3 by Loïc d'Anterroches, Apr 19, 2010
I tried to clone your project: git clone git://code.dr14.cnrs.fr/IndeferoSandbox.git put it is not possible. Are you offering SSH access to it for me to clone it and check what is going on?
Comment 4 by Frédéric Druilhet, Apr 19, 2010
Just create you account and I'll add it to this project. But, I think, if you have web acces to each link, you don't have to clone it.
Comment 5 by Loïc d'Anterroches, May 19, 2010
I start to understand some of your problems. I put it as high because it feels a bit fishy. This should not happen.
Summary: (git) Commit messages are not shown for some files in non master branch
Comment 6 by Pamir Talazan, Oct 23, 2011
Hi! This problem seems to be still present. Any updates on the issue?
Comment 7 by Frédéric Druilhet, Nov 8, 2011
Hi ! I still have the problem (and you too). I've changed my way to handle indefero. On my prod server, I directly "git pull" your release-1.2 branch. If you browse your own source, let's say master : http://projects.ceondo.com/p/indefero/source/tree/master/ ... you can read on the root directory, the commit description for each 7 files. (ticket link even works) But from now, if you change the branch to ... let's see... feature.issue-link: http://projects.ceondo.com/p/indefero/source/tree/feature.issue-links / ... you now see that only 2 files have kept the commit message. It's because only those 2 files have not changed from (and since) master branch. Hope i'm clear enough