On 1/14/11 1:53 AM, Andreas Schwab wrote:
> John Dennis <jden...@redhat.com> writes:
> 
>> I recently got slightly burned by an unexpected behavior with 
>> switch-branch. Apparently after switching branches fedpkg does not do a 
>> pull, I'm not sure if this is right or wrong, I can see arguments on 
>> both sides. Let me give an example:
>>
>> foo (master)$ fedpkg switch-branch f14
>> foo (f14)$
> 
> git normally tells you when you check out a branch that is behind the
> remote, like this:
> 
> $ git co master
> Switched to branch 'master'
> Your branch is behind 'origin/master' by 18 commits, and can be 
> fast-forwarded.
> 
> I'm surprised that fedpkg throws away that information.
> 
> Andreas.
> 

We don't throw it away on purpose.  I'd have to review the code, but we
might not be calling /usr/bin/git here and instead doing things at a
library level where this output just isn't given.

-- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to