Skip to content

Selah.

Pause, and calmly think on that.

Menu
  • About
  • Chords
  • Free Gift
  • Highlights
  • Links
  • Microposts
  • The New Covenant
  • The Small Web
Menu

git – a love/hate relationship (with maybe a little more hate)

Posted on December 17, 2009October 5, 2013 by Shovas

Update 2013-10-05: This is a really old post. After an initial skepticism phase, I am now an enthusiastic git fan and I would use it over anything else now. It really is great. I had to let go of a few things but once you do it turns out better than you thought. And nothing is absolutely hidden anyway. All the commands are there to get at what you want. And all the negatives I talked about below have been solved and relatively easily at that.

As per my previous post on git,  we’ve been investigating and running trial repositories using git. A tiny bit of background: we’re a cvs shop and I have a tonne of experience with it and I’m comfortable using it, although not so comfortable I won’t consider other solutions. So far, though, git has been frustrating me, but let me start with the positives.

There are many wins with git but I’ll mention what I feel are its biggest assets: disconnected operation and speed. I would love to get these in cvs, but there are also negatives to git.

The biggest negative for me is the difficulty, if not impossibility, of central enforcement of some rules, that we could easily accomplish in cvs. I don’t like meaningless hashes for tree revisions, but I could live with that.

And why don’t add/commit hooks on the committer-side let me accomplish the same thing as push hooks on the server-side?

Is there a way, when reading file content during pushes, in order to do policy enforcement, to not have to recurse the entire tree and all commits that have ever been done? The reason that’s important is because a committer not using the proper hooks will run into trouble if the server-side git has been using prohibitive hooks the entire time (also remember some functionality appears impossible with add/commit hooks on the committer-side).

For the sake of argument, assume it was just a requirement a typical cvs model was followed in git and you had to do some policy enforcement on the server-side: How can you maintain and enhance server-side hooks and ensure that every user gets those hooks on the committer-side, too. Some have said the committer-side doesn’t need them, they can just fix them at the time of push/pull. I’ve run into prohibitive server-side hooks that require the committer-side to recurse through every commit and fix  the commit message.

These are my hooks so you may say I’m the author of my own trouble but, remember, sometimes in a company you have to have these policies enforced centrally. And, besides, these hooks save us time, trouble and sanity.

And, so, what I found natural and easy to accomplish in cvs, I find difficult and some things, so far, impossible. Maybe it’s because git is opaque compared to cvs. It just seems difficult to accomplish tasks given git’s design and model.

What can I do?

1 thought on “git – a love/hate relationship (with maybe a little more hate)”

  1. Pingback: git – the fast version control system | Selah.

Comment Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.

Loading ...

No more microposts.

  • Re: Engine stall fix: Citroën 2.0 HDI 150
  • Answering Anti-Flood Objections: The Genesis Flood For Kids (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Bee Beginnings Baffle Biology Boffins (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Solving the mystery of the DEVIL’S CORKSCREW (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Witnessing the time of DRAGONS – What dinosaur behaviours did humans experience before the flood? (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Fire & Ice: The surprising story of the Bandera Volcano Ice Cave (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Humans before plants? Why Genesis does not contradict itself. (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Ancient Artwork Shows Jerusalem Left Unscathed (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Reading: Not a happy accident (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Creation Focus News And Views (Creation Magazine 2026 Vol. 48 No. 3)

bible canada centos christ christian christmas church creation Creation Magazine evolution faith family game genesis God gog good google government heart iracing jesus life linux love matthew music pc poem poetry quote racing romantical salvation science sim sin Small Web Smallweb Finds truth update video windows word YouTube

Log in
© 2026 Selah. | Powered by Superbs Personal Blog theme