diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-07-09 00:19:50 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-09 00:19:50 -0700 |
commit | bb293b831b9d0aade79c0acf5bf6091106e7d19b (patch) | |
tree | 6549f6423c83a66b04bf51daedcb5fa592170c27 /refs.c | |
parent | fd11ae0b52b6d059056a32851a916c152befae1a (diff) | |
parent | e09c4e753c337d914f4eb7a05cb5e8bbfc362489 (diff) | |
download | git-bb293b831b9d0aade79c0acf5bf6091106e7d19b.tar.gz |
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)); |