{"thread":{"id":"15484","subject":"git commands for 3rd-party commit/update hooks","startedAt":"2008-09-11T01:22:47Z","lastAt":"2008-09-11T01:22:47Z","messageCount":1,"participants":["Pavel Sanda"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"90403","messageId":"20080911012247.GB11362@atrey.karlin.mff.cuni.cz","threadId":"15484","inReplyTo":null,"subject":"git commands for 3rd-party commit/update hooks","fromName":"Pavel Sanda","fromEmail":"ps@twin.jikos.cz","sentAt":"2008-09-11T01:22:47Z","receivedAt":"2008-09-11T01:22:47Z","isPatch":false,"sender":{"key":"ps@twin.jikos.cz","avatar":null},"body":"hi,\nplease can you help me to figure out, whether the following task can\nbe accomplished by git?\n\nimagine that:\n1. user configures rcs in two different modes:\na) working in private\nb) sharing work via some public repo\n\n2. after configuration all rcs communication goes through some 3rd\n   party tool which API knows only commit and update(/merge) hooks.\n\nall docs on git i have seen divide the workflow into the local part\neg. git commit and the sharing part eg. git pull/push.\n\nis it somehow doable with git that after appropriate setup i will\nget single git command for each commiting/updating operation\nregardless of 1a or 1b scenario? something which can be stuffed\ninto that 3rd-party as external commands for rcs commit/update while\nkeeping it oblivious whether the work is stored locally or on some \nremote place.\n\nthanks,\npavel\n"}]}