Re: fedpkg switch-branch behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/14/11 1:53 AM, Andreas Schwab wrote:
> John Dennis <jdennis@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux