I need to correlate each commit with the branch it is in. The only thing I have found that does this so far is "git show-branch" ... but this has problems with "cannot handle more than 25 refs" if there are more than 25 branches. I inherited this repo, and can not prune branches until I have an idea what commits have been duplicated in other branches, so I can not reduce the number of branches below the current 30 for now. Is there any other way to get a listing of all of the commits that identifies which branch the commit belongs to (e.g. some argument for git log --format)?
Asked
Active
Viewed 25 times
ts=2021-07-29 14:18:34 +0000;sha=0a29cf5;lbl=;c={Add JPEG ancillary info}
to make it easy for processing with perl. If branch names could be added to that, nicer. – rimiha Dec 15 '22 at 02:07