question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ability to compare between two branches

See original GitHub issue

Currently, the git client will only query for HEAD~1 and determine the files in the last commit.

We should add the ability to let a developer specify a branch to compare against and determine all the changed files between HEAD and that branch.

We should configure this in the extension and let the user decide which option to use and the branch to compare against.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
digitalbuddhacommented, Nov 16, 2020

Merged preliminary config. I need to push it down to module granularity next

0reactions
jonnycaleycommented, Dec 18, 2020

It seems ProcessBuilder does not use a shell to execute the commands, so grep is not supported. I’ll use kotlin string manipulation instead to get the branch name

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I see the differences between two branches?
Open view "Git Tree Compare" and u will be able to see side by side diff for all files. Save this answer. Show...
Read more >
Find the Differences Between Two Git Branches - Baeldung
git diff is a useful command that allows us to compare different types of git objects, such as files, commits, branches, and many...
Read more >
How to Compare Two Branches in Git - Tower Git Client
Comparing branches in Git helps to find out which commits are present in one branch - but not in the other one.
Read more >
Allow to compare any two branches : IDEA-125616 - YouTrack
Currently IDEA allows to compare current branch with another one. Please, allow to compare two branches or commits selected in GIT "Changes |...
Read more >
How to compare files from two different branches in Git
If we want to compare the test.js file from the current branch to the other branch then the current branch name can be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found