Hi Philip,

Here is an attempt to describe the requirements and usecase.

Given a collection of hashes e.g. [03c19c71, 3572c7d6], figures out the
branch point at 82ab1b9f, generate dot graph of commits from branch point
to each hashes in the collection

I want to determine if such a tool already exists before I start writing
one.

We have various productions pegging on specific git hash to deploy their
tools, such a graph will give non-development stakeholder and visual map of
differences so as to make production decision as to the pros and cons of
match their respective production chosen tag with e.g. a newer tag

Using the OpenSubdiv git repo as a reference

Partial output from `git log --oneline --graph`
* ff76e0f2 Release 3.4.4
*   cab44bea Merge pull request #1216 from davidgyu/dev_glloader_update
|\
| * 33a3d3bc Merged GL Api Loader fixes from USD
* |   22e01871 Merge pull request #1220 from
davidgyu/dev_additional_docutils_fix
|\ \
| * | c5389531 Additional fix/cleanup for FindDocutils.cmake
* | |   c3a1d500 Merge pull request #1219 from
davidgyu/dev_release_branch_updates2
|\ \ \
| |/ /
|/| |
| * | 87d2db0f Additional renaming fix missed in previous commit
* | |   4425a470 Merge pull request #1213 from virtualritz/dev
|\ \ \
| |/ /
|/| |
| * | f44c3e9b Fixed FindDocutils.cmake for broken rst2html case.
* | |   fa7bb9f9 Merge pull request #1218 from
davidgyu/dev_release_branch_updates
|\ \ \
| * | | 37e84682 Updated for rename of 'master' branch to 'release'
|/ / /
* | |   ed544590 Merge pull request #1214 from
davidgyu/dev_macos_frameworks_fix
|\ \ \
| * | | bb0b366c Fixed macOS static framework
| | |/
| |/|
* | |   84e0e3de Merge pull request #1206 from thomthom/cmake-sub-project
|\ \ \
| * | | ce90f0fc Adjustments to CMake config for use as a sub-project.
| |/ /
* | |   5772f3a5 Merge pull request #1217 from
davidgyu/dev_farviewer_hbr_fix
|\ \ \
| * | | cc60e9ed Removed obsolete references to hbr from farViewer
| |/ /
* | |   e1c99e68 Merge pull request #1215 from davidgyu/dev_dl_link_fix
|\ \ \
| |/ /
|/| |
| * | 654a5396 Fixed link dependency on dl library
|/ /
* |   62ddd17b Merge pull request #1208 from
barfowl/far_unrefine_maxlevel_bug
|\ \
| * | 03c19c71 Fixed Far::TopologyRefiner::GetMaxLevel() after call to
Unrefine():     - reset _maxLevel member to 0 in Unrefine()
* | |   0d117082 Merge pull request #1207 from
barfowl/far_stencil_precision_bug
|\ \ \
| |_|/
|/| |
| * | 75e31d88 Fixed bug in double precision template for
Far::StencilTableFactory:     - added missing template parameter with use
of Far::PrimvarRefiner
| |/
* |   3572c7d6 Merge pull request #1203 from barfowl/far_sparse_fvar_bug
|\ \
| * | c1dd0bdf Fixed bug in sparse refinement where face-varying topology
differs:     - do not select face if incomplete, i.e. not descended from
specified face
| |/
* |   c85f4bba Merge pull request #1205 from c64kernal/dev_p3
|\ \
| |/
|/|
| * dc368d0d Python 3 updates to build script
|/
* 82ab1b9f Release 3.4.3
*   fd668d64 Merge pull request #1193 from davidgyu/dev_additional_link_fix
|\
| * e7dfecc3 Additional fixes for dynamic and static linking
|/
* 0ca74b2e Release 3.4.2

On Tue, 9 Mar 2021 at 15:03, Philip Oakley <philipoakley@iee.email> wrote:

> Nicholas,
>
> What's the background to your use case. How did this list originate? does
> it have any natural order? do you want an ascii graph, in the order given,
> or date order, or parent & branch order? etc.
>
> Also, what have you already tried (e.g. the various --graph & decoration
> options to log & show)?
>
> Philip
>
> On Tuesday, March 9, 2021 at 8:07:16 PM UTC yue.ni...@gmail.com wrote:
>
>> Hi,
>>
>>   Given a collection of git hashes, is there any handy tool/script that
>> can graph their relationship?
>>
>> Cheers
>>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/git-users/90140159-2c25-4fa7-b910-d63f86934ed8n%40googlegroups.com
> <https://groups.google.com/d/msgid/git-users/90140159-2c25-4fa7-b910-d63f86934ed8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/CADYXiJ%2Brv5BHw5rN_5qbwx4ZTd%2BgZfjd%3D32CqAg-3kzSdFzH0A%40mail.gmail.com.

Reply via email to