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

« back to all changes in this revision

Viewing changes to receive-pack.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:
209
209
                return NULL; /* good */
210
210
        }
211
211
        else {
212
 
                lock = lock_any_ref_for_update(name, old_sha1);
 
212
                lock = lock_any_ref_for_update(name, old_sha1, 0);
213
213
                if (!lock) {
214
214
                        error("failed to lock %s", name);
215
215
                        return "failed to lock";