RE: [PATCH] push: Allow @ shortcut with git-push

2013-12-07 Thread Felipe Contreras
Tomo Krajina wrote: > Until now, HEAD could be used with git-push to push the current > branch. Now @ is a shortcut to HEAD, but it didn't work when > pushing branches. It fails with: > > fatal: remote part of refspec is not a valid name in @ > > Reinterpret all branch names from argv in order

[PATCH] push: Allow @ shortcut with git-push

2013-12-05 Thread Tomo Krajina
Until now, HEAD could be used with git-push to push the current branch. Now @ is a shortcut to HEAD, but it didn't work when pushing branches. It fails with: fatal: remote part of refspec is not a valid name in @ Reinterpret all branch names from argv in order for @ to be used when pushing bran