Skip to content
Snippets Groups Projects

changed the post-receive hook in order to push the correct repository

Merged gitlab-qa-bot requested to merge github/fork/namtzigla/dot-repos-names into master

Created by: namtzigla

changed the post-receive hook in order to push the correct repository name when the name contain special characters like repository names that contain dots.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
7 7 do
8 8 # For every branch or tag that was pushed, create a Resque job in redis.
9 9 pwd=`pwd`
10 reponame=`basename "$pwd" | cut -d. -f1`
10 reponame=`basename "$pwd" | sed s/\.git$//`
  • Created by: namtzigla

    is just removing from the repository name the ".git" extension

    By Administrator on 2012-09-21T19:08:37 (imported from GitLab project)

    By Administrator on 2012-09-21T19:08:37 (imported from GitLab)

  • Created by: NARKOZ

    Possible duplicate of #1022

    By Administrator on 2012-09-24T16:02:21 (imported from GitLab project)

    By Administrator on 2012-09-24T16:02:21 (imported from GitLab)

  • Please register or sign in to reply
    Loading