working with linux-next ... must tags be fetched separately?

2015-06-28 Thread Robert P. J. Day

  perusing the current instructions on how to work with linux-next
here:

https://www.kernel.org/doc/man-pages/linux-next.html

and i'm puzzled by this part of the instructions:

 Fetch linux-next plus tags

$ git fetch linux-next
...
$ git fetch --tags linux-next
...

is it really necessary to run two separate fetch commands? from the
man page for git-fetch, one reads:

   -t, --tags
   Fetch all tags from the remote (i.e., fetch remote tags refs/tags/* 
into local tags with
   the same name), in addition to whatever else would otherwise be 
fetched.

so would it not be sufficient to run simply:

$ git fetch --tags linux-next

or am i misreading something?

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: working with linux-next ... must tags be fetched separately?

2015-06-28 Thread Harsh Jain
Hi,

git fetch --tags linux-next

Will only fetch the tags not changed files content/data.

To fetch file changes 
git fetch linux-next

Is required.



On 28 June 2015 14:59:15 GMT+05:30, Robert P. J. Day rpj...@crashcourse.ca 
wrote:

  perusing the current instructions on how to work with linux-next
here:

https://www.kernel.org/doc/man-pages/linux-next.html

and i'm puzzled by this part of the instructions:

 Fetch linux-next plus tags

$ git fetch linux-next
...
$ git fetch --tags linux-next
...

is it really necessary to run two separate fetch commands? from the
man page for git-fetch, one reads:

   -t, --tags
Fetch all tags from the remote (i.e., fetch remote tags refs/tags/*
into local tags with
the same name), in addition to whatever else would otherwise be
fetched.

so would it not be sufficient to run simply:

$ git fetch --tags linux-next

or am i misreading something?

rday

-- 


Robert P. J. Day Ottawa, Ontario,
CANADA
http://crashcourse.ca

Twitter:  
http://twitter.com/rpjday
LinkedIn:  
http://ca.linkedin.com/in/rpjday


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: working with linux-next ... must tags be fetched separately?

2015-06-28 Thread Robert P. J. Day
On Sun, 28 Jun 2015, Harsh Jain wrote:

 Hi,

 git fetch --tags linux-next

 Will only fetch the tags not changed files content/data.

 To fetch file changes
 git fetch linux-next

 Is required.



 On 28 June 2015 14:59:15 GMT+05:30, Robert P. J. Day 
 rpj...@crashcourse.ca wrote:

   perusing the current instructions on how to work with linux-next
 here:
 https://www.kernel.org/doc/man-pages/linux-next.html
 and i'm puzzled by this part of the instructions:
  Fetch linux-next plus tags
 $ git fetch linux-next
 ...
 $ git fetch --tags linux-next
 ...
 is it really necessary to run two separate fetch commands? from the
 man page for git-fetch, one reads:
-t, --tags
Fetch all tags from the remote (i.e., fetch remote tags 
 refs/tags/* into local tags with
the same name), in addition to whatever else would otherwise be 
 fetched.
 so would it not be sufficient to run simply:
 $ git fetch --tags linux-next
 or am i misreading something?
 rday

  that suggests that the man page is slightly misleading, given that
it clearly states that --tags will fetch tags, in addition to
whatever else would otherwise be fetched. or is there a different way
to read that phrase?

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies