git: Use tree paths instead of iterators to track the selected log viewer branch
commit4123da5a091429f621d863129a34aa3adccdf223
authorJames Liggett <jrliggett@cox.net>
Sat, 5 May 2012 08:29:35 +0000 (5 01:29 -0700)
committerJames Liggett <jrliggett@cox.net>
Sat, 5 May 2012 08:37:51 +0000 (5 01:37 -0700)
treee5cc6f2aa92f232fa67798df18a7e3ba276eebb6
parent4f0d36703feb261c6107ae4fee1996bd1d050ed3
git: Use tree paths instead of iterators to track the selected log viewer branch

Tree paths are stored as pointers, so there is no need to make copies of them
when storing them in the branch hash table that the log viewer uses to keep
track of which combo box entry belongs to a branch. Invalid paths can also
easily be denoted with a NULL value, somthing that isn't easily done with
iterators.

This should fix bgo #654094
plugins/git/git-log-pane.c