Re: gitk from subdirectory
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 31, 2007, 04:33 UTC
- Message-ID
- <7v642w5nmd.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <7vabs85ntg.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <junkio@pobox.com> writes:
> Since commit cdaee5db165ba8bae8d3b524950e61666fc36a84 (gitk: > Improve handling of -- and ambiguous arguments), running gitk > from a subdirectory limits the displayed history with the ...
FYI, I picked up your wish in the kernel list and have been experimenting with this 5-liner whenever I refer to a commit in the past:
#!/bin/sh
for commit
do
git show -s --pretty=oneline "$commit"
done |
sed -e 's/^[^ ]* /&(/' -e 's/$/)/'