Package: git Version: 1:2.10.2-2 Severity: wishlist Tags: upstream Dear Maintainer,
* What led up to the situation? The zsh completion for 'git checkout <TAB>' has an array of N branch names (without "refs/heads/" prefix) and would like to obtain log message summaries for all of them. Ideally, we'd like to run .. git … -- branchname1 branchname2 branchname3 .. and get back the log message summaries of branchname{1..3}, in this order, separated by LFs or NULs. (The branch names originate from 'git reflog' output, it if matters.) * What exactly did you do (or not do) that was effective (or ineffective)? We tried 'git log --no-walk=unsorted $branch_names', but that printed just one entry if two of the arguments were ref names that pointed at the same commit object. We tried 'git for-each-ref $branch_names', but that sorts the refs before they're printed. We tried invoking git once per branch name, but that performed too slowly. * Suggestions? An option for 'git log' to not deduplicate refs that point at the same commit, or a --no-sort option to 'git for-each-ref', would address this use-case. Cheers, Daniel