diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-07-09 09:19:50 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-09 09:19:50 +0200 |
commit | bb293b831b9d0aade79c0acf5bf6091106e7d19b (patch) | |
tree | 6549f6423c83a66b04bf51daedcb5fa592170c27 /refs.c | |
parent | Documentation: update sections on naming revisions and revision ranges (diff) | |
parent | Start preparing release notes for 1.5.6.3 (diff) | |
download | git-bb293b831b9d0aade79c0acf5bf6091106e7d19b.tar.xz git-bb293b831b9d0aade79c0acf5bf6091106e7d19b.zip |
Merge branch 'maint'
* maint:
Start preparing release notes for 1.5.6.3
git-submodule - Fix bugs in adding an existing repo as a module
bash: offer only paths after '--'
Remove unnecessary pack-*.keep file after successful git-clone
make deleting a missing ref more quiet
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -925,7 +925,7 @@ int delete_ref(const char *refname, const unsigned char *sha1) i = strlen(lock->lk->filename) - 5; /* .lock */ lock->lk->filename[i] = 0; err = unlink(lock->lk->filename); - if (err) { + if (err && errno != ENOENT) { ret = 1; error("unlink(%s) failed: %s", lock->lk->filename, strerror(errno)); |