~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-security

« back to all changes in this revision

Viewing changes to builtin-reflog.c

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-10-04 08:27:01 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20071004082701-rsd058ontoqz4i30
Tags: 1:1.5.3.4-1
new upstream point release (closes: #445188).

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
        /* we take the lock for the ref itself to prevent it from
250
250
         * getting updated.
251
251
         */
252
 
        lock = lock_any_ref_for_update(ref, sha1);
 
252
        lock = lock_any_ref_for_update(ref, sha1, 0);
253
253
        if (!lock)
254
254
                return error("cannot lock ref '%s'", ref);
255
255
        log_file = xstrdup(git_path("logs/%s", ref));