git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* History for Strbuf and ParseOpts?
@ 2011-04-17 15:13 David Chanters
  2011-04-17 18:19 ` Jakub Narebski
  2011-04-17 18:51 ` Junio C Hamano
  0 siblings, 2 replies; 3+ messages in thread
From: David Chanters @ 2011-04-17 15:13 UTC (permalink / raw)
  To: git; +Cc: David Chanters

[ Please CC me on replies.  Thanks! ]i,

Hi,

I shouldn't conflate to two (parseopts and strbuf) but can someone
tell me how these two things came about -- that is, when/why/how?  If
I understand strbuf correctly, it's a transparent and dynamic way of
handling strings?  If so, how useful would it be as a separate
project?

TIA!

David

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: History for Strbuf and ParseOpts?
  2011-04-17 15:13 History for Strbuf and ParseOpts? David Chanters
@ 2011-04-17 18:19 ` Jakub Narebski
  2011-04-17 18:51 ` Junio C Hamano
  1 sibling, 0 replies; 3+ messages in thread
From: Jakub Narebski @ 2011-04-17 18:19 UTC (permalink / raw)
  To: David Chanters; +Cc: git

David Chanters <david.chanters@googlemail.com> writes:

> I shouldn't conflate to two (parseopts and strbuf) but can someone
> tell me how these two things came about -- that is, when/why/how?  If
> I understand strbuf correctly, it's a transparent and dynamic way of
> handling strings?  If so, how useful would it be as a separate
> project?

I don't have a pointers to exchange of emails that started the road to
strbuf and parseopt, but both are described in the techical
documentation (GIT API Documents):

  Documentation/techical/*
  http://www.kernel.org/pub/software/scm/git/docs/technical/api-index.html
  
  http://www.kernel.org/pub/software/scm/git/docs/technical/api-strbuf.html
  http://www.kernel.org/pub/software/scm/git/docs/technical/api-parse-options.html

-- 
Jakub Narebski
Poland
ShadeHawk on #git

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: History for Strbuf and ParseOpts?
  2011-04-17 15:13 History for Strbuf and ParseOpts? David Chanters
  2011-04-17 18:19 ` Jakub Narebski
@ 2011-04-17 18:51 ` Junio C Hamano
  1 sibling, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2011-04-17 18:51 UTC (permalink / raw)
  To: David Chanters; +Cc: git

David Chanters <david.chanters@googlemail.com> writes:

> I shouldn't conflate to two (parseopts and strbuf) but can someone
> tell me how these two things came about -- that is, when/why/how?

I do this sort of digging fairly often.

I am not going to do this particular one myself, but the general procedure
is to first run "git log --diff-filter=A strbuf.[ch] parse-options.[ch]"
to find which commits introduced them (hence, learn who did it, when and
why), then go back to the list archive to find the discussions that lead
to these changes.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-17 18:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-17 15:13 History for Strbuf and ParseOpts? David Chanters
2011-04-17 18:19 ` Jakub Narebski
2011-04-17 18:51 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).