Thread (6 messages) flat view 6 messages, 6 authors, 2016-06-15

Re: What's cooking in git.git (Sep 2010, #05; Wed, 15)

From: Bo Yang <hidden>
Date: 2016-06-15 22:49:33

On Thu, Sep 16, 2010 at 6:19 AM, Junio C Hamano [off-list ref] wrote:
[Cooking]

* by/line-log (2010-09-11) 18 commits
 (merged to 'next' on 2010-09-12 at e29a029)
 + log -L: do not free parents lists we might need again
 (merged to 'next' on 2010-08-26 at a160ff1)
 + Document line history browser
 + Add tests for line history browser
 + Add --full-line-diff option
 + Add --graph prefix before line history output
 + Add parent rewriting to line history browser
 + Make graph_next_line external to other part of git
 + Make rewrite_parents public to other part of git
 + Hook line history into cmd_log, ensuring a topo-ordered walk
 + Print the line log
 + map/take range to the parent of commits
 + Add range clone functions
 + Export three functions from diff.c
 + Parse the -L options
 + Refactor parse_loc
 + Add the basic data structure for line level history
 + parse-options: add two helper functions
 + parse-options: enhance STOP_AT_NON_OPTION

How would one trace history of lines 440,450 in t/t7300-clean.sh starting
from the tip of 'pu'?  "git log -p -L 440,450 pu -- t/t7300-clean.sh"
would be the most natural but it does not work (it wants "pu" to be a
path).  "git log -p -L 440,450 t/t7300-clean.sh pu" doesn't work either.
Please put the revision before the '-L' options, you can run:

git log -p origin/pu  -L 440,450 t/t7300-clean.sh

It will work.
The command line parser of this series needs to be rethought (didn't I say
that many times?  Perhaps I was ignored).  Might want to kick this out of
'next' and move to the stalled category after 1.7.3.
Yes, you have mentioned this many times, and I will put some time on this issue.

-- 
Regards!
Bo
----------------------------
My blog: http://blog.morebits.org
Why Git: http://www.whygitisbetterthanx.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help