Page MenuHomePhabricator

[git-llvm] Do not reinvent `@{upstream}` (take 2)
ClosedPublic

Authored by davezarzycki on Sep 10 2019, 1:44 AM.

Details

Summary

This makes git-llvm more of a thin wrapper around git while temporarily maintaining backwards compatibility with past git-llvm behavior.

Using @{upstream} makes git-llvm more robust when used with a nontrivial local repository.

Diff Detail

Event Timeline

davezarzycki created this revision.Sep 10 2019, 1:44 AM

Works for me, but let's confirm with @thakis

Works for me, but let's confirm with @thakis

Hi @mehdi_amini,

In the comments of D67262, @thakis said: "if there's a warning however, it'd be nice if it included git checkout -b myNewBranch origin/master as suggested command to run, since I found that difficult to find. (Thanks for mentioning it!)"

thakis accepted this revision.Sep 16 2019, 8:09 AM

Looks great!

This revision is now accepted and ready to land.Sep 16 2019, 8:09 AM