Giter Club home page Giter Club logo

Comments (9)

mbehr1 avatar mbehr1 commented on August 17, 2024

I’ll take a look. You’d prefer commit date and not build date, right?

Am 25.02.2015 um 15:52 schrieb andig [email protected]:

vzlogger -v shows commit hash. Unfortunately commit hash does not give direct indication how old the build or rather the commit is.

Would it be possible to add the commit date as well?


Reply to this email directly or view it on GitHub #128.

Gruß
Matthias

from vzlogger.

nyphis avatar nyphis commented on August 17, 2024

Why not displaying both?

Btw.: With my current (up to date) build the vzlogger states

# vzlogger -V
0.4.0
 based on git version: heads/master-0-g077a180c35

which has fairly little to do with the current commit hash 79166a9fc0f7fa826909c83cd78268bf81b5db58 ... or am I wrong?

from vzlogger.

mbehr1 avatar mbehr1 commented on August 17, 2024

can you post a

git log -n 2

output?

from vzlogger.

nyphis avatar nyphis commented on August 17, 2024
# git log -n 2
commit 077a180c3519c220d6131c3e01cef121c2fbf9b9
Merge: b80e6a8 79166a9
Author: root <[email protected]>
Date:   Tue Feb 24 17:38:28 2015 +0100

    Merge branch 'master' of https://github.com/volkszaehler/vzlogger

commit 79166a9fc0f7fa826909c83cd78268bf81b5db58
Merge: 02b9e5c 0f7719f
Author: andig <[email protected]>
Date:   Tue Feb 24 07:22:51 2015 +0100

    Merge pull request #124 from mbehr1/fix_LuG_E350

    fix and unit tests for Landis u Gyr E350

from vzlogger.

mbehr1 avatar mbehr1 commented on August 17, 2024

so it fits. 077... is the last commit. (heads/master-g077...)

from vzlogger.

mbehr1 avatar mbehr1 commented on August 17, 2024

I added PR#129 to add last commit date to -V. I think build date is not really useful (but could be added later simply by adding a DATE to printf.

from vzlogger.

mbehr1 avatar mbehr1 commented on August 17, 2024

see here an example output:

src/vzlogger -V
0.4.0
 based on git version: heads/commit_date-0-g79166a9fc0-dirty
 last commit date: Tue, 24 Feb 2015 07:22:51 +0100

from vzlogger.

andig avatar andig commented on August 17, 2024

Great, thank you!

from vzlogger.

justinotherguy avatar justinotherguy commented on August 17, 2024

nice one, Matthias :-) 👍

from vzlogger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.