[AMBER-Developers] git logs and squashing commits

From: David A Case <david.case.rutgers.edu>
Date: Wed, 24 Feb 2016 12:22:18 -0500

I'm pinging git experts about what (if anything) we can do with the following
problem:

If I cd to the amber14/doc directory and type "git log amber.bib" (in order
to find recent changes to this file), I get the following:

commit acc59a342da64bf949ac6828b45294b275970344
Author: Hai Nguyen <hainm.comp.gmail.com>
Date: Thu Feb 4 11:02:31 2016 -0500

    Squashed commit of the following:
    
    commit 689f1f003ea81f51a26f4791e46ed9fa18ee8b5e
    Merge: 8a40ed6 9c3c6ef
    Author: Hai Nguyen <hainm.users.noreply.github.com>
    Date: Thu Feb 4 01:50:52 2016 -0500
    
        Merge pull request #1136 from hainm/master
    
        add ref_mask for rmsd
    
    commit 9c3c6ef39bd1c4a45308733b54439dde4d7f3edf
    Author: Hai Nguyen <hainm.comp.gmail.com>
    Date: Thu Feb 4 01:40:16 2016 -0500
    
        fix


...etc...etc for hundreds of commit logs, (7500 lines of text) almost none
of which actually did anything to amber.bib itself.

I can redirect the output to a file, and use a text editor to try to find
what I'm looking for, but I wonder if there is not a better way. Do we really
need commits that are thousands of lines long? Is there a better way to
maintain a useful history? Some fancy option to the "git log" command that
alleviates this?

...thx...dac

_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed Feb 24 2016 - 09:30:04 PST
Custom Search