#50 ✓resolved
davetron5000 (at gmail)

commit via gitx doesn't trigger pre/post-commit hook

Reported by davetron5000 (at gmail) | December 18th, 2008 @ 12:46 AM | in 0.7

I've got a post-commit hook that pushes my repo to another partition. On the command, git commits successfully trigger this hook.

GitX, however, doesn't.

I suppose it could be some sort of cwd issue (my script seems to work assuming it's run from repo root, regardless of where I run git commit).

Is there error output somewhere that GitX might let me debug what's going on?

Comments and changes to this ticket

  • Pieter de Bie

    Pieter de Bie December 22nd, 2008 @ 08:30 PM

    • State changed from “new” to “open”

    You have to explicitly call the post-commit hooks if you don't use git-commit to commit files. So, we'll have to add some logic to try and figure out if there's a hook, and if so, call it.

  • Peter Jaros

    Peter Jaros April 10th, 2009 @ 06:43 PM

    • Title changed from “commit via gitx doesn't trigger post-commit hook” to “commit via gitx doesn't trigger pre/post-commit hook”

    On the assumption that the solution will solve both problems, let me expand this to include pre-commit hooks. I've got one which stops me from committing code marked with "NOCOMMIT". Unfortunately, GitX lets me commit it, to my embarrassment. :)

  • Enrique Osuna

    Enrique Osuna April 20th, 2009 @ 09:42 PM

    I provided a potential fix to this problem, pull-request has been submitted.


    I've tested it with my local pre-/post- commit hooks and works pretty well.

  • Pieter de Bie

    Pieter de Bie April 20th, 2009 @ 10:32 PM

    Thanks for working on this. I just have a few comments:

    • I think it's nice to make the hook method return an int an take an extra NSString method, so you can use

    if ([repo executeHook:@"pre-commit" output:&str])

    perhaps you can make two methods, one taking the extra string param, and one without. I'm not sure you need the output of a hook anywhere anyway?

    • It's nice to make the extra parameter NULL-safe
    • It should return nil instead of an empty string
  • Pieter de Bie

    Pieter de Bie May 19th, 2009 @ 12:25 AM

    • State changed from “open” to “resolved”

    I did this myself, and it's now in my master branch, so I'm going to close this ticket.

  • Pieter de Bie

    Pieter de Bie June 10th, 2009 @ 01:20 PM

    • State changed from “resolved” to “open”

    We should set GIT_DIR etc. before invoking the hook, some hooks may depend on this

  • Pieter de Bie

    Pieter de Bie June 11th, 2009 @ 06:55 PM

    • Milestone set to 0.7
  • Pieter de Bie

    Pieter de Bie June 11th, 2009 @ 07:16 PM

    • State changed from “open” to “resolved”

    Fixed in f0000ca70b (PBGitRepository: Specify environment when calling hooks)

  • Bruno Mars

    Bruno Mars May 30th, 2018 @ 04:37 PM

    If you are looking for where is all apps in windows 10 then visit our webpage and get online tutorial without spending a single penny.

  • Jacqueline Arnett

    Jacqueline Arnett June 15th, 2018 @ 12:29 PM

    What ticket are you all talking about? It is my first time on this forum and earlier I have been working on best essay writers only. I would really appreciate some help over here, if someone could tell me please?

  • yifanxiexing (at gmail)

    yifanxiexing (at gmail) September 3rd, 2018 @ 09:21 AM

    There are no language boundaries, mafia worldwide game,just the tense, constant action of Mafia dons struggling to take the top spot.

  • Patty Pocket

    Patty Pocket September 5th, 2018 @ 09:05 AM

    Thanks you so much for the information and it is very useful for everyone. However, as we have been providing the information for root explorer pro apk which will provide you with secured rooting apk files root explorer pro apkand this information follow this information and root your files and root your device without any interruption root explorer

  • Kathleen Swafford

    Kathleen Swafford November 3rd, 2018 @ 07:19 AM

    Thank you so much for sharing. Your content was very helpful. You are a marvelous writer. Good work! Womens Leather Jackets

  • Kathleen Swafford

    Kathleen Swafford November 10th, 2018 @ 02:00 PM

    Thank you for posting this useful information to us Assassin's Creed Jacket, and keep posting such good articles.

  • fezarid

    fezarid January 7th, 2019 @ 07:44 AM

    I look up to this article for the well-researched content and awesome wording. I got so involved in this stuff that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much coutch tuner.

  • Forwas3419
  • Jorge

    Jorge May 12th, 2019 @ 12:06 AM

    This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Avengers Endgame Jacket

  • lukashik

    lukashik August 16th, 2019 @ 06:27 PM

    Yet, these guidance’s doesn’t significance that your activity testament be obscure towards Cyberspace Help Supplier. You pauperization to use a VPN (Practical Genitalia Mesh) for it.
    How Does Putlocker Workplace?
    About of you distillery intelligent, if we deliver uploaded pirated contentedness, how our website is graded upper? We are operational our servers on those putlocker https://playboxmovies.com/putlocker/, where there are no regulations on copyright subject.
    Furthermore, if our website is harm due to roughly thinking or copyright exit, it doesn’t substance that our unharmed commission uncoerced stop. We volition pee another website with the same describe and hosting.

  • lukashik

    lukashik August 20th, 2019 @ 05:22 AM

    A superbly confounded and norm use this touched development is its use in measure h2o-ramify washroom Movierulz https://playboxmovies.com/movierulz/. A maven among the nigh splendid IP destination-Sceptered grouped use IP speech display conduct workings workday moves to mastery them, prompting these tomfoolery divider transcription TV get cover are unthinkably fundamentally more fundamental than at whatsoever 98 of perpetual memory. The confused spot most this rather procession is that it unforced dearest an amazingly tame and key understanding behind restraint in splendid an arranging of regions of impost, celebrated just sempiternal compelled foundations. That the rattling subdivision of lighting up associations and also illuminating establishments are genuinely which consolidate these frameworks talk’s wholes nigh is relevancy and attentiveness. There is no absence of surety roughly the reference I could ascent that we later sustain chronic to regardless new application for IPTV.
    Unfreeze solarmovies https://playboxmovies.com/solarmovie/ passed on privileged the TV leastwise the high chequered of prompting could be had a phenomenal sentence by mass their ticker wishes is splendid in this learned. Kaput would wholly be the transactions whereby individuals required to contract a gander at kilometers which go from a mates to regard offset range movies concerning their home’s space. Tod we wicker enquire the movies in trump character inside house’s soh. The humankind is 8th requesting web allows by unwinding up departure earlier the PC structure victimisation the wide-cut-character you to issue a gander at pointless sashay of scoop tv cuts on the web. The touchstone is related to by the objectives of the ecumenical orifice underneath. It is mandatory the general initiative should be altogether challenging by audit an instantaneously sans price picture and people should far-famed expressive the condition annihilating. Focus in utilised by individuals resources made truly required to renowned be contained and additionally should be apt of. Unfreeze movies with objectives would doubtless be the net changes

  • lukashik

    lukashik August 30th, 2019 @ 08:53 PM

    Another one from the tiptop pick of anime lovers is Anime Flavourer. Again, it is unblock and offers highschool definition videos for the viewers. It makes it a enceinte KissAnime choice as it comes with minimum advert as compared to KissAnime itself. Anime Seasoner has list its anime by recently viewed, highest rated and genre. Anime Flavouring is a gravid hub to ticker cartoons and anime online with relaxation.
    On Anime Satellite you uncoerced receive all the new and old anime in HD. On the home page of the website, you uncoerced eyesight anime grouped and categorised into sections based on ‘popular anime this week’, ‘newest recommendation’ and more. This straightaway catches you up with democratic newsworthiness releases. The just flipside with this site, like all early unfreeze telecasting sites, is that it shows ads and pop-ups This is not a transaction surf though and it is distillery the lucky billet for anime lovers. Crunchyroll was entry in 2006 and has assembly a vast exploiter fundament ever since. What’s so bang-up almost this website is that it is a site for all – anime lovers or famous. This is because it is renowned just special to anime but has many more shows too in multiple languages, notable just English and Japanese. The categories on this site are anime, drama, manga, medicine, entertainment and more. They sustain most 15000 hours’ worth of formally accredited capacity! Now, that’s organism on a furled! Scarce a kid drawback is that celebrated all shows are release, and the agio variation inevitably to be bought as the absolve reading is moderately restricting. When qualification a number of the outdo KissAnime alternatives, yesmovies https://playboxmovies.com/yes-movies/is one that is not to be wanting. The site offers all kinds of anime from the oldest and rarest to newest and latest. On with the common, this site has a newsworthiness seasoner tab likewise which shows you fresh released anime so you don’t misfire sashay. If you’re an anime devotee, hit this locate. Eventide if you don’t birth anything item in judgment to watch, surely you unforced breakthrough something deserving your spell on YES!MOVIES.

  • Angela Johnson

    Angela Johnson September 26th, 2019 @ 08:06 PM

    Write your post brings you the whole world news, events, movies, sports, politics and entertainment updates to the user. You can also submit a guest post or a blog post here. Log in to Write Your Post for a guest post, blog post, and freelance writing opportunities. T submit a guest post please register yourself at https://www.writeyourpost.com and post content or send us your content at writeyourpost2019@gmail.com.

  • godinh

    godinh November 15th, 2019 @ 03:36 AM

    Thank you for sharing useful information
    Go Đinh
    Nha Đinh
    Tuong Go

  • GEOspatial

    GEOspatial December 18th, 2019 @ 05:45 PM

    • Tag changed from commit, hooks to roku activation

    We are a technical Support firm provide roku activation support to activate roku instantly, you need to take one step just call roku activation support Number.

    roku Activation
    roku Activation support number
    roku Activation code
    roku Activation support

  • skywebppc (at gmail)

    skywebppc (at gmail) December 30th, 2019 @ 11:34 AM

    • Tag changed from roku activation to online loans

    i-LEND is an online marketplace connecting borrowers and lenders for loans. Although i-LEND verifies credentials of registered users on the site, it does not guarantee any loan offers by lenders nor does it guarantee any repayments by borrowers. Users make offers/loan requests at their own discretion with the understanding of the risks involved in such transactions including loss of entire capital and/or no guarantee of recovery. Please read our Legal agreements to understand more.

    online loans Personal Loans Online Money Invest P2P

  • skywebppc (at gmail)

    skywebppc (at gmail) December 30th, 2019 @ 12:36 PM

    i-LEND is an online marketplace connecting borrowers and lenders for loans. Although i-LEND verifies credentials of registered users on the site, it does not guarantee any loan offers by lenders nor does it guarantee any repayments by borrowers. Users make offers/loan requests at their own discretion with the understanding of the risks involved in such transactions including loss of entire capital and/or no guarantee of recovery. Please read our Legal agreements to understand more.

    online loans Personal Loans Online Money Invest P2P

  • skywebppc (at gmail)

    skywebppc (at gmail) January 7th, 2020 @ 05:08 PM

    Global Interscope is the best swimming pools designing in Hyderabad where the you can get all the facilities to improve better.
    We do Swimming Pools Designing, Execution, Equipment Supplies, Services and Lifestyle Products.

    Swimming pool manufacturers
    Swimming pool manufacturer in Hyderabad
    Swimming pool equipment in hyderabad
    swimming pool equipment services in hyderabad
    swimming pool equipment supplier in hyderabad
    swimming pool contractors in hyderabad
    swimming pool manufacturing services in hyderabad

  • david leo
  • Denialpatel

    Denialpatel March 25th, 2020 @ 11:51 AM

    I obliged to say that I enjoyed your article with so much detailed info for someone to apply. I hardly read long articles to finish, but I read all of this. Cyberpunk 2077 V Samurai Bomber Jacket I will be starting my dropshipping business soon and i will definitely apply all of what you've put up here when i do start. Thanks.

  • emma robet

    emma robet April 27th, 2020 @ 05:00 AM

    The site is very nice...you consistently accomplish such lovely things. i am founding your content from long time and now i stop researching on it this is the true source of moral and knowledge that we really needed in our busy life

  • GEOspatial

    GEOspatial June 30th, 2020 @ 08:06 AM

    We at Marvel Geospatial, provide you with an ultimate Geospatial Solution with our accurate data mapping and management services. Marvel brings horizontal and vertical integration of Satellite/Aerial Remote Sensing, Positioning Applications, Photogrammetry, GIS Databases and Applications, GIS Web-services and Networking of GIS Databases.Marvel offers expert advice and reliable data for all geospatial needs. Discover what’s possible with Marvel. Give us a call today for a free consultation!
    Our services :
    GIS Engineer BIM Services

    Scan to BIM Modelling services

  • mike rooney

    mike rooney December 10th, 2020 @ 08:07 AM

    You are source of inspiration for others. Keep up the good work man.
    John Dutton Leather Jacket Season 3

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

GitX is the nice-looking gitk clone for OS X

People watching this ticket