How can we improve SQL Source Control?

SQL Source Control Git Hook Support

Sql Source Control can be made better by adding support for git hooks in the Sql Management Studio Source Control interface.

Example: Create a pre-commit hook to stop outgoing commits if tsqlt tests do not pass.

Expected outcome: A commit that fails the pre-commit hook should not be created. This is the behavior of the git command line.

Current outcome: Sql Source Control does not respect the git hook and bypasses it allowing the commit to be made.

12 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Sam Blowes commented  ·   ·  Flag as inappropriate

        This is very important for audit purposes.

        Often a user should reference a ticket for each change.

      Feedback and Knowledge Base