Re: [git-users] from the commit message to get its in which branch or tag

2013-03-18 Thread lei yang
On Mon, Mar 18, 2013 at 6:03 AM, Johan 't Hart jopi...@gmail.com wrote:

 Wasnt there something like patch-id you can use in this case?





[lyang0@ala-lpd-test1 linux]$ git format-patch
c51a3d140bb726a662a867a2ae4098cc311347d7^..c51a3d140bb726a662a867a2ae4098cc311347d7
-o /tmp//tmp/0001-x86-mce-Do-not-change-worker-s-running-cpu-in-cmci_r.patch
[lyang0@ala-lpd-test1 linux]$ git patch-id 
/tmp/0001-x86-mce-Do-not-change-worker-s-running-cpu-in-cmci_r.patche1f299654737b34f4ec6b03abdcb416cbc81b1d0
85b97637bb40a9f486459dd254598759af9c3d50
and why it gets two patch-id
It doesn't  get below commit id, which is  the same patch too
commit c51a3d140bb726a662a867a2ae4098cc311347d7Author: Tang Chen
tangc...@cn.fujitsu.comDate:   Mon Oct 29 11:01:50 2012 +0800
x86/mce: Do not change worker's running cpu in cmci_rediscover().
  commit 85b97637bb40a9f486459dd254598759af9c3d50 upstream



Is there a way to search a branch for a commit with a certain patch id?


git branch --contains id




 --
 You received this message because you are subscribed to the Google Groups
 Git for human beings group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to git-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] from the commit message to get its in which branch or tag

2013-03-18 Thread Johan 't Hart


On Monday, March 18, 2013 4:40:55 PM UTC+1, lei yang wrote:



 On Mon, Mar 18, 2013 at 6:03 AM, Johan 't Hart jop...@gmail.comjavascript:
  wrote:

 Wasnt there something like patch-id you can use in this case?




 Is there a way to search a branch for a commit with a certain patch id?


 git branch --contains id


Documentation of git-branch states:
--contains [commit]

Only list branches which contain the specified commit (HEAD if not 
specified).


So that sounds to me that this command will list all branches that contain 
a specified commit ID, note: not a patch ID.
Should this also work with patch-ID's?


  


 --
 You received this message because you are subscribed to the Google Groups 
 Git for human beings group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to git-users+...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] from the commit message to get its in which branch or tag

2013-03-18 Thread lei yang
On Tue, Mar 19, 2013 at 6:08 AM, Johan 't Hart jopi...@gmail.com wrote:



 On Monday, March 18, 2013 4:40:55 PM UTC+1, lei yang wrote:



 On Mon, Mar 18, 2013 at 6:03 AM, Johan 't Hart jop...@gmail.com wrote:

 Wasnt there something like patch-id you can use in this case?




 Is there a way to search a branch for a commit with a certain patch id?


 git branch --contains id


 Documentation of git-branch states:
 --contains [commit]

 Only list branches which contain the specified commit (HEAD if not
 specified).


 So that sounds to me that this command will list all branches that contain
 a specified commit ID, note: not a patch ID.
 Should this also work with patch-ID's?



NOT work, because the commit-id maybe different, and patch-id can't be used
here

Lei









 --
 You received this message because you are subscribed to the Google
 Groups Git for human beings group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to git-users+...@**googlegroups.com.

 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .



  --
 You received this message because you are subscribed to the Google Groups
 Git for human beings group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to git-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] How do I create download packages on GitHub?

2013-03-18 Thread Eric Gunawan
This feature is already deprecated from GitHub, right?

I've just read this: https://github.com/blog/1302-goodbye-uploads


On Friday, September 28, 2012 11:39:25 PM UTC+7, Konstantin Khomoutov wrote:

 On Fri, 28 Sep 2012 09:20:38 -0700 (PDT) 
 Simon Bingham smn...@gmail.com javascript: wrote: 

  Can't believe I missed that. It is Friday afternoon though. Thank you. 
  
  It seems a bit strange that you have to upload a file to create a new 
  package when the code is already on GitHub. 

 I suppose it's because this feature is provided to allow hosting of 
 *binary packages* like .msi or .exe installers for Windows or, 
 say, .deb and .rpm packages for various other OSes.  Obviously, that's 
 something someone usually does on their workstation. 

 An ability to download a tip of any branch as a .zip or .tar.gz file is 
 builtin and is provided by github itself out of the box. 


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.