• Himanshu Kapoor's avatar
    Call openPendingTab only if open file has change · a82aec39
    Himanshu Kapoor authored
    Now that staging and unstaging might result in absence of a change
    when the changes cancel each other out, we need to add if condition
    checks before opening a tab for a file to see if there are actually
    any changes for that file or not. For example, adding a word "hello"
    in staged and removing the same word in unstaged.
    a82aec39
file.js 8.22 KB